kernel-ark/sound/soc
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
..
atmel ASoC: at91sam9g20ek_2mmc board uses same audio connexion as at91sam9g20ek 2009-10-09 12:41:55 +01:00
au1x MIPS/SOUND: Alchemy: DB1200 AC97+I2S audio support. 2010-02-27 12:53:01 +01:00
blackfin ASoC: Fix continuation line formats 2010-02-01 14:35:23 +00:00
codecs ASoC: Fix passing platform_data to ac97 bus users and fix a leak 2010-03-29 21:00:37 +01:00
davinci ASoC: DaVinci: Fix stream restart error 2010-01-26 11:55:54 +00:00
fsl of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
imx ASoC: Remove BROKEN from i.MX audio after dependencies merged 2010-03-22 11:17:41 +00:00
omap ASoC: OMAP: Fix capture pointer handling for OMAP1510 to work correctly with recent ALSA PCM code 2010-04-02 17:10:25 +01:00
pxa Merge branch 'origin' into devel-stable 2010-03-08 20:21:04 +00:00
s3c24xx Merge branch 'origin' into devel-stable 2010-03-08 20:21:04 +00:00
s6000 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
sh ASoC: SIU driver shall select FW_LOADER 2010-03-18 11:31:13 +00:00
txx9
Kconfig
Makefile ASoC: Add bit clock rate calculator utility functions 2009-11-12 16:45:48 +00:00
soc-cache.c ASoC: Add a cache_sync bit to the CODEC structure 2010-02-04 10:40:45 +00:00
soc-core.c ASoC: Fix passing platform_data to ac97 bus users and fix a leak 2010-03-29 21:00:37 +01:00
soc-dapm.c ASoC: Support turning off bias when the CODEC is idle 2010-01-21 12:04:08 +00:00
soc-jack.c ASoC: Add jack_status_check callback function for GPIO jacks 2009-11-12 16:45:53 +00:00
soc-utils.c ASoC: Add BCLK calculation utility for TDM mode too 2009-11-25 19:55:46 +00:00