spi: spi-omap2-mcspi.c: Toggle CS after each word
authorMatthias Brugger <matthias.bgg@gmail.com>
Thu, 24 Jan 2013 12:40:41 +0000 (13:40 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Jan 2013 09:00:04 +0000 (17:00 +0800)
commit5cbc7ca987fb3f293203dc14a6c53b91b7c978a5
tree39e1e84db700dae73cbbe73b4b5fb342a39c2848
parent18dd6199fa4527229cede5784244b6eb37a21d62
spi: spi-omap2-mcspi.c: Toggle CS after each word

This patch allows the board code to define SPI devices which needs to
toggle the chip select after every word send. This is needed to get a
better resolution reading e.g. an ADC data stream.
Apart from that, as in the normal code CS is controlled by software,
a transfer is done much faster.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c
include/linux/platform_data/spi-omap2-mcspi.h