linux/sound/soc/omap
Janusz Krzysztofik b5442a75de ASoC: OMAP: Fix capture pointer handling for OMAP1510 to work correctly with recent ALSA PCM code
With recent (2.6.34) chnages in PCM handling, capture stopped working on my
OMAP1510 based Amstrad Delta videophone.

Using 2.6.34-rc2, I was able to correct the problem in 3 different ways:

1. reverting commit 7b3a177b0d,
2. enabling additional jiffies check with
	echo 4 >/proc/asound/card0/pcm0c0/xrun_debug
3. applying the patch below.

Since I wasn't able to reproduce the problem on my i686 PC, I guess the
problem is probably machine specific.

The patch reuses the method for software emulation of missing hardware
pointer, already implemented for playback on OMAP1510. It's possible that
event if a hardware pointer is available for capture on this machine, its
behaviour may be not compatible with what upper layer expects.

If you think the problem may be more general and should be solved differently,
on a higher level, I can try to work more on it if you give me a hint.

If the patch gets accepted, I suggest it goes as a fix in the current release
cycle.

Created and tested against linux-2.6.34-rc2.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-04-02 17:10:25 +01:00
..
am3517evm.c ASoC: Adding OMAP3517 / AM3517 EVM support in ASOC 2009-10-29 22:28:18 +00:00
ams-delta.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
igep0020.c ASoC: Add support for IGEP v2 2009-11-19 10:48:43 +00:00
Kconfig ASoC: OMAP4: Add McPDM platform driver 2010-02-23 10:41:05 +00:00
Makefile ASoC: OMAP4: Add McPDM platform driver 2010-02-23 10:41:05 +00:00
mcpdm.c ASoC: OMAP4: Add support for McPDM 2010-02-23 10:39:48 +00:00
mcpdm.h ASoC: OMAP4: Add support for McPDM 2010-02-23 10:39:48 +00:00
n810.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap2evm.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap3beagle.c Add ASoC support for Devkit8000 2010-02-11 19:49:48 +00:00
omap3evm.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
omap3pandora.c ASoC: pandora: Add DAC regulator support 2010-02-05 17:08:16 +00:00
omap-mcbsp.c Merge with mainline to remove plat-omap/Kconfig conflict 2010-03-01 14:19:05 -08:00
omap-mcbsp.h ASoC: OMAP-McBSP: ASoC interface for McBSP sidetone 2010-02-23 10:57:39 -08:00
omap-mcpdm.c ASoC: OMAP4: Add McPDM platform driver 2010-02-23 10:41:05 +00:00
omap-mcpdm.h ASoC: OMAP4: Add McPDM platform driver 2010-02-23 10:41:05 +00:00
omap-pcm.c ASoC: OMAP: Fix capture pointer handling for OMAP1510 to work correctly with recent ALSA PCM code 2010-04-02 17:10:25 +01:00
omap-pcm.h ASoC: OMAP: data_type and sync_mode configurable in audio dma 2010-02-23 10:38:52 +00:00
osk5912.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
overo.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
sdp3430.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
zoom2.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00