ASoC: OMAP: Set minimum buffer size constraint for McBSP2 in OMAP3
authorJarkko Nikula <jarkko.nikula@nokia.com>
Fri, 27 Mar 2009 13:32:01 +0000 (15:32 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 15 Mar 2010 20:49:25 +0000 (22:49 +0200)
commite3610bdbc8c670528de14ba9466e3c7485f5d06a
treefd7e261a10c5dc16e26fea227933af0f31caa5df
parent94926d9aa0c23089583e32b0373568dd622b3975
ASoC: OMAP: Set minimum buffer size constraint for McBSP2 in OMAP3

McBSP2 in OMAP3 has 1 ksample (1k x 32 bit) internal FIFO. During
initial playback startup, this FIFO is keeping the DMA request active
until the FIFO is full.

So now if ALSA buffer size is smaller, DMA is looping around it while
filling up the HW FIFO, generating burst of interrupts as well and SW
doesn't have any change to fill enough data.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c