[spi-devel-general] [PATCH 2/2] SPI: make the moved loopback test work
David Brownell
david-b at pacbell.net
Mon Jul 19 21:32:30 EDT 2010
> No matter how much I look at it, it seems like
> all use of this require you to first register
> *some* device,
OBVIOUSLY. You can't use SPI without a device;
it's like any other driver framework in Linux.
What else should you expect???
Look at the sample code though, ISTR you'll see
that when the SPI master works correctly, putting
it into loopback mode just means that the writes
and reads (should) get the same data -- full duplex.
No matter what the device is (given SPI_LOOP).
- Dave
More information about the linux-arm-kernel
mailing list