Currently, spidev_test.c always sends hardcoded data to the device.
By fetching this data from a file given as a parameter, one can test
real devices.
Signed-off-by: Jan Luebbe
---
Documentation/spi/spidev_test.c | 73 +++
1 file changed, 58 insertions
UBI uses vmalloc'ed buffers in some cases which are not valid for
DMA, so use PIO instead.
Signed-off-by: Jan Luebbe
---
drivers/spi/spi-omap2-mcspi.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mc
The device mcspi->dev is used when calling dma_map_single, so use it
for dma_unmap_single, too.
Signed-off-by: Jan Luebbe
---
drivers/spi/spi-omap2-mcspi.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcsp