]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Apr 2009 15:34:17 +0000 (16:34 +0100)
commit6984992bf0520a07b931124d33f46b46437f6e1c
treeba0f7f83df9c5e6c5cb0178426d0a7f772b972da
parent7220b9f4bd4fad41f6f7299fe74c2c38ec85d793
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