]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: loopback-test: correct mismatched test description and configuration
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 17 Mar 2017 18:17:26 +0000 (03:17 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 17 Mar 2017 21:53:53 +0000 (21:53 +0000)
commitc4e121aeb754f1ac5f2bcc791aa4177dcfb3b401
tree46daa7e54f2d909257432d1e09ee4956e4d424cf
parentfafd67940774733fa97f4b09412aea6981b82e0a
spi: loopback-test: correct mismatched test description and configuration

The test "two tx-transfers - alter first" actually alters the second
not the first transfer.  Similarly the test "two tx-transfers - alter
second" actually alters the first not the second transfer.

The mismatches for the two symmetrical tests cancel each other's
mistakes.  But it's better to fix the mismatches to avoid confusion.

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