Re: [PATCH 1/2] soc - Fix s3c24xx-i2s LR sync while timer ticks are disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 14 Apr 2008 12:01:42 +0100,
Mark Brown wrote:
> 
> From: Werner Almesberger <werner@xxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Applied to ALSA tree.  Thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux