Skip to contentSkip to conversation

Fix ASoC s3c24xx-pcm spinlock bug

PATCH Applied Zoltan Devai 2 participants 2 messages May 22, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix ASoC s3c24xx-pcm spinlock bug

Hi,

This should fix a spinlock lockup bug on the s3c24xx arch.

Regards,
Zoltan

---

sound/soc/s3c24xx/s3c24xx-pcm.c +2 -0
@@ -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;
 }
Applied
#1 lore raw

At Tue, 22 May 2007 12:28:28 +0200,

Quoted 7 lines · Zoltan Devai

Hi,

This should fix a spinlock lockup bug on the s3c24xx arch.

Regards,
Zoltan

Applied to ALSA tree. Thanks.

Takashi

Quoted 19 lines

---

sound/soc/s3c24xx/s3c24xx-pcm.c +2 -0
@@ -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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel