android_kernel_xiaomi_sdm845/sound/soc/omap
Janusz Krzysztofik 64844a6ac8 ASoC: OMAP: Make use of DMA channel self linking on OMAP1510
Use newly implemented DMA channel self linking on OMAP1510 like on other OMAP
models. Remove unnecessary DMA transfer restart from interrupt handler
routine.

The interrupt routine used to maintain a period index, originally needed for
counting up periods up to a full buffer in order to restart the DMA transfer.
For some time, this counter is also used as a replacement for hardware DMA
progress counter that has been found unusable on OMAP1510 in case of playback.
Thus, the period index calculation cannot be omitted completely. However, the
accuracy of this counter can still suffer from missing DMA interrupts.

In order to work correctly, it requires patch 1 from this series also applied:
[RFC][PATCH 1/3] ARM: OMAP: DMA: Add support for DMA channel self linking on OMAP1510

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>
2009-08-17 10:59:59 +01:00
..
ams-delta.c TTY/ASoC: Rename N_AMSDELTA line discipline to N_V253 2009-08-07 11:48:02 +01:00
Kconfig ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
Makefile ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
n810.c Merge branch 'for-2.6.30' into for-2.6.31 2009-04-20 12:45:40 +01:00
omap2evm.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
omap3beagle.c ASoC: Beagle: Add support for 4 channel 2009-04-24 17:38:25 +01:00
omap3evm.c ASoC: Added OMAP3 EVM support in ASoC. 2009-05-14 12:47:26 +01:00
omap3pandora.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
omap-mcbsp.c ARM: OMAP: McBSP: Fix ASoC on OMAP1510 by fixing API of omap_mcbsp_start/stop 2009-08-07 10:57:42 +01:00
omap-mcbsp.h ASoC: OMAP: Update contact addresses 2009-04-17 15:55:09 +01:00
omap-pcm.c ASoC: OMAP: Make use of DMA channel self linking on OMAP1510 2009-08-17 10:59:59 +01:00
omap-pcm.h ASoC: OMAP: Update contact addresses 2009-04-17 15:55:09 +01:00
osk5912.c ASoC: OMAP: Fix FS polarity in OSK5912 machine driver 2009-04-16 13:37:26 +01:00
overo.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
sdp3430.c ASoC: SDP3430: Add support for EXTMUTE using TWL GPIO6 2009-07-17 10:32:39 +01:00
zoom2.c ASoC: Zoom2: Update twl4030_setup_data parameters 2009-07-03 11:01:05 +01:00