[alsa-devel] [PATCH] Fix ASoC s3c24xx-pcm spinlock bug

Zoltan Devai zdevai at gmail.com
Tue May 22 12:28:28 CEST 2007


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;
 }


More information about the Alsa-devel mailing list