[alsa-devel] [PATCH] Fix ASoC s3c24xx-pcm spinlock bug
Hi,
This should fix a spinlock lockup bug on the s3c24xx arch.
Regards, Zoltan
---
--- 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; }
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@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
Takashi Iwai
-
Zoltan Devai