projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c3b4e
)
[ALSA] Fix ASoC s3c24xx-pcm spinlock bug
author
Zoltan Devai
<zdevai@gmail.com>
Tue, 22 May 2007 14:17:05 +0000
(16:17 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 31 May 2007 07:06:03 +0000
(09:06 +0200)
This should fix a spinlock lockup bug on the s3c24xx arch.
From: Zoltan Devai <zdevai@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/s3c24xx/s3c24xx-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/s3c24xx/s3c24xx-pcm.c
b/sound/soc/s3c24xx/s3c24xx-pcm.c
index
21dc697
..
bfbdc3c
100644
(file)
--- 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_pcm_substream *substream)
if (prtd == NULL)
return -ENOMEM;
+ spin_lock_init(&prtd->lock);
+
runtime->private_data = prtd;
return 0;
}