android_kernel_xiaomi_sm8350/sound/soc/s3c24xx
Werner Almesberger 33e5b22285 [ALSA] soc - Fix s3c24xx-i2s LR sync while timer ticks are disabled
When timer ticks are disabled when calling
sound/soc/s3c24xx/s3c24xx-i2s.c:s3c24xx_snd_lrsync
and the LR signal never happens, we loop forever.
This has been observed in the following call chain:
snd_pcm_common_ioctl1 -> snd_pcm_action_lock_irq ->
snd_pcm_action_single
 -> snd_pcm_do_resume -> soc_pcm_trigger -> s3c24xx_i2s_trigger

The patch below changes the timeout mechanism to use udelay, which
doesn't need timer ticks.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-05-19 17:55:10 +02:00
..
Kconfig [ALSA] ASoC: S3C2412 IIS driver 2008-01-31 17:29:53 +01:00
lm4857.h [ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch 2007-07-20 11:11:29 +02:00
ln2440sbc_alc650.c [ALSA] soc - ln2440sbc_alc650 - Fix checkpatch warnings 2008-04-30 19:38:06 +02:00
Makefile [ALSA] ASoC: S3C2412 IIS driver 2008-01-31 17:29:53 +01:00
neo1973_wm8753.c [ALSA] ASoC: Remove in-code changelogs 2008-05-19 13:19:20 +02:00
s3c24xx-ac97.h [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
s3c24xx-i2s.c [ALSA] soc - Fix s3c24xx-i2s LR sync while timer ticks are disabled 2008-05-19 17:55:10 +02:00
s3c24xx-i2s.h [ALSA] ASoC Samsung S3C24xx updates - i2s 2007-05-11 16:56:03 +02:00
s3c24xx-pcm.c [ALSA] ASoC: Remove in-code changelogs 2008-05-19 13:19:20 +02:00
s3c24xx-pcm.h [ALSA] ASoC Samsung S3c24xx updates - audio DMA cleanup 2007-05-11 16:56:03 +02:00
s3c2412-i2s.c [ALSA] S3C2412: suspend and resume support 2008-01-31 17:29:53 +01:00
s3c2412-i2s.h [ALSA] ASoC: S3C2412 IIS driver 2008-01-31 17:29:53 +01:00
s3c2443-ac97.c [ALSA] ASoC: Remove in-code changelogs 2008-05-19 13:19:20 +02:00
smdk2443_wm9710.c [ALSA] ASoC: Remove in-code changelogs 2008-05-19 13:19:20 +02:00