summaryrefslogtreecommitdiff
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-10-02 16:03:32 +0400
committerGrant Likely <grant.likely@secretlab.ca>2010-10-03 07:09:08 +0400
commit23699f98f84f20195fddd0263d05a8ccb8694676 (patch)
treea6e1e9dd79d835caf8d2d39f4327ae559b2932df /drivers/spi/spi.c
parent37880c909c6a22674d3c0f83f2737264b4e60fe1 (diff)
downloadlinux-23699f98f84f20195fddd0263d05a8ccb8694676.tar.xz
spi: spi-gpio.c tests SPI_MASTER_NO_RX bit twice, but not SPI_MASTER_NO_TX
The SPI_MASTER_NO_TX bit (can't do buffer write) wasn't tested. This code was introduced in commit 3c8e1a84 (spi/spi-gpio: add support for controllers without MISO or MOSI pin). This patch fixes a bug in choosing which transfer ops to use. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions