commit | e6520a3c8877d02c471135afb371e79b04409ab8 | [log] [tgz] |
---|---|---|
author | Martin Sperl <kernel@martin.sperl.org> | Tue Dec 22 18:03:21 2015 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Jan 05 19:05:23 2016 +0000 |
tree | 8bb9ea2c10d7a4b5e53efaee617cb00e0e93c066 | |
parent | 739f3e92916b6076afbfc3b524ec120468478035 [diff] |
spi: loopback-test: write rx pattern also when running without tx_buf Currently the rx_buf does not get set with the SPI_TEST_PATTERN_UNWRITTEN when tx_buf == NULL in the transfer. Reorder code so that it gets done also under this specific condition. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org>