projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/sound/soc/s3c24xx/s3c24xx-pcm.c
b/sound/soc/s3c24xx/s3c24xx-pcm.c
index 21dc6974d6a3922c3d6a94baf5f232e4bf5e8c44..bfbdc3cbd43b5e936c0614c9429d1414e4a4bb56 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;
}