1
linux/Documentation/spi
Hector Palacios 95b1ed2ac7 spi: spidev_test gives error upon 1-byte transfer
The sample application spidev_test.c is using SPI_IOC_MESSAGE ioctl to do
an SPI transfer.  This ioctl returns the number of bytes successfully
transmitted or a negative error code upon erroneous completion.  The
application however is returning an error if the result of the ioclt if
the return value is 1.  This makes the application to fail upon 1-byte
length transfers.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-04-29 16:40:30 -06:00
..
.gitignore
butterfly
Makefile
pxa2xx
spi-lm70llp
spi-summary tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
spidev
spidev_fdx.c
spidev_test.c spi: spidev_test gives error upon 1-byte transfer 2010-04-29 16:40:30 -06:00