[alsa-devel] [PATCH] Fix ASoC s3c24xx-pcm spinlock bug
Takashi Iwai
tiwai at suse.de
Tue May 22 17:32:38 CEST 2007
At Tue, 22 May 2007 12:28:28 +0200,
Zoltan Devai wrote:
>
> Hi,
>
> This should fix a spinlock lockup bug on the s3c24xx arch.
>
> Regards,
> Zoltan
Applied to ALSA tree. Thanks.
Takashi
>
> ---
>
> --- a/sound/soc/s3c24xx/s3c24xx-pcm.c
> +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c
> @@ -337,6 +337,8 @@ static int s3c24xx_pcm_open(struct snd_p
> if (prtd == NULL)
> return -ENOMEM;
>
> + spin_lock_init(&prtd->lock);
> +
> runtime->private_data = prtd;
> return 0;
> }
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list