]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
spi: loopback-test: don't skip comparing the first byte of rx_buf
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 17 Mar 2017 18:17:27 +0000 (03:17 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 17 Mar 2017 21:53:56 +0000 (21:53 +0000)
commit8494801db1fc21867f587dae465236100bf228cc
tree6a3b1e32fc6af1bdf6d2e731b694703c0bc640eb
parentc4e121aeb754f1ac5f2bcc791aa4177dcfb3b401
spi: loopback-test: don't skip comparing the first byte of rx_buf

When the loopback parameter is set, rx_buf are compared with tx_buf
after the spi_message is executed.  But the first byte of buffer is
not checked.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-loopback-test.c