]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: OMAP: fix OMAP1510 broken PCM pointer callback
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Sat, 27 Jun 2009 22:21:05 +0000 (00:21 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 30 Jun 2009 09:39:12 +0000 (10:39 +0100)
commit059a53f5f12ea4ec0509c439f5f8b430ee894805
treec43b34ae854f35b56c9a3723a1ca22dcb9b6c724
parentae6762fc92909eddaa9d035d2dd8fef21206ef98
ASoC: OMAP: fix OMAP1510 broken PCM pointer callback

This patch tries to work around the problem of broken OMAP1510 PCM playback
pointer calculation by replacing DMA function call that incorrectly tries to
read the value form DMA hardware with a value computed locally from an
already maintained variable omap_runtime_data.period_index.

Tested on OMAP5910 based Amstrad Delta (E3) using work in progress ASoC
driver.

Based on linux-2.6-asoc.git v2.6.31-rc1.

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