projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-tsc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
sound
/
soc
/
pxa
/
tosa.c
diff --git
a/sound/soc/pxa/tosa.c
b/sound/soc/pxa/tosa.c
index
73d0edd
..
7b983f9
100644
(file)
--- a/
sound/soc/pxa/tosa.c
+++ b/
sound/soc/pxa/tosa.c
@@
-81,8
+81,13
@@
static int tosa_startup(struct snd_pcm_substream *substream)
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_codec *codec = rtd->codec;
+ mutex_lock(&codec->mutex);
+
/* check the jack status at stream startup */
tosa_ext_control(codec);
+
+ mutex_unlock(&codec->mutex);
+
return 0;
}