ASoC: OMAP: Enhance OMAP1510 DMA progress software counter
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Tue, 11 Aug 2009 19:44:29 +0000 (21:44 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Aug 2009 10:00:34 +0000 (11:00 +0100)
commit471e3dec3abe2d41e8c742046353fcb01bc2459e
tree15bcba2e2823d5859784d4f3d2fa726435ddf7d6
parent64844a6ac8ddd586cb832fea7cf2e93e5e7e03f4
ASoC: OMAP: Enhance OMAP1510 DMA progress software counter

Enhance period_index accuracy, particularly just before buffer rewind, by
making use of DMA interrupt status flags in addition to simply counting up
interrupts.

Created against linux-2.6.31-rc5.

Tested on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-pcm.c