Re: [PATCH v3 2/2] spi: omap2-mcspi: Add FIFO buffer support

2013-06-17 Thread Illia Smyrnov
On 06/17/2013 12:16 PM, Mark Brown wrote: On Fri, Jun 14, 2013 at 07:12:08PM +0300, Illia Smyrnov wrote: The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt handler and improve data throughput. This patch adds FIFO buffer support for SPI transfers in DMA mode. This

Re: [PATCH v3 2/2] spi: omap2-mcspi: Add FIFO buffer support

2013-06-17 Thread Mark Brown
On Fri, Jun 14, 2013 at 07:12:08PM +0300, Illia Smyrnov wrote: > The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt > handler and improve data throughput. This patch adds FIFO buffer support for > SPI > transfers in DMA mode. This looks good but doesn't apply against m

[PATCH v3 2/2] spi: omap2-mcspi: Add FIFO buffer support

2013-06-14 Thread Illia Smyrnov
The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt handler and improve data throughput. This patch adds FIFO buffer support for SPI transfers in DMA mode. For SPI transfers in DMA mode, the largest possible FIFO buffer size will be calculated and set up. The FIFO won't