Re: [PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-24 Thread Matt Porter
On Wed, Jan 23, 2013 at 07:08:49PM +0100, Matthias Brugger wrote: > 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

Re: [PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-24 Thread Mark Brown
On Wed, Jan 23, 2013 at 07:08:49PM +0100, Matthias Brugger wrote: > 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

Re: [PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-23 Thread Jarkko Nikula
Hi On Wed, 23 Jan 2013 19:08:49 +0100 Matthias Brugger wrote: > @@ -1020,7 +1038,7 @@ static void omap2_mcspi_work(struct omap2_mcspi *mcspi, > struct spi_message *m) > } > > static int omap2_mcspi_transfer_one_message(struct spi_master *master, > -

[PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-23 Thread Matthias Brugger
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