diff options
Diffstat (limited to 'drivers/spi/spi-loopback-test.c')
-rw-r--r-- | drivers/spi/spi-loopback-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index b9a7117b6dce..85d3475915dd 100644 --- a/drivers/spi/spi-loopback-test.c +++ b/drivers/spi/spi-loopback-test.c | |||
@@ -877,7 +877,7 @@ static int spi_test_run_iter(struct spi_device *spi, | |||
877 | test.transfers[i].len = len; | 877 | test.transfers[i].len = len; |
878 | if (test.transfers[i].tx_buf) | 878 | if (test.transfers[i].tx_buf) |
879 | test.transfers[i].tx_buf += tx_off; | 879 | test.transfers[i].tx_buf += tx_off; |
880 | if (test.transfers[i].tx_buf) | 880 | if (test.transfers[i].rx_buf) |
881 | test.transfers[i].rx_buf += rx_off; | 881 | test.transfers[i].rx_buf += rx_off; |
882 | } | 882 | } |
883 | 883 | ||