22 May
2007
22 May
'07
12:28 p.m.
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; }