tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'for-2.6.37' into for-2.6.38
Mark Brown
15 years ago
989db200
c046fd4d
+24
-1
6 changed files
expand all
collapse all
unified
split
sound
soc
codecs
wm8776.c
pxa
corgi.c
magician.c
poodle.c
spitz.c
tosa.c
-1
sound/soc/codecs/wm8776.c
reviewed
···
34
34
/* codec private data */
35
35
struct wm8776_priv {
36
36
enum snd_soc_control_type control_type;
37
37
-
u16 reg_cache[WM8776_CACHEREGNUM];
38
37
int sysclk[2];
39
38
};
40
39
+5
sound/soc/pxa/corgi.c
reviewed
···
102
102
struct snd_soc_pcm_runtime *rtd = substream->private_data;
103
103
struct snd_soc_codec *codec = rtd->codec;
104
104
105
105
+
mutex_lock(&codec->mutex);
106
106
+
105
107
/* check the jack status at stream startup */
106
108
corgi_ext_control(codec);
109
109
+
110
110
+
mutex_unlock(&codec->mutex);
111
111
+
107
112
return 0;
108
113
}
109
114
+4
sound/soc/pxa/magician.c
reviewed
···
74
74
struct snd_soc_pcm_runtime *rtd = substream->private_data;
75
75
struct snd_soc_codec *codec = rtd->codec;
76
76
77
77
+
mutex_lock(&codec->mutex);
78
78
+
77
79
/* check the jack status at stream startup */
78
80
magician_ext_control(codec);
81
81
+
82
82
+
mutex_unlock(&codec->mutex);
79
83
80
84
return 0;
81
85
}
+5
sound/soc/pxa/poodle.c
reviewed
···
79
79
struct snd_soc_pcm_runtime *rtd = substream->private_data;
80
80
struct snd_soc_codec *codec = rtd->codec;
81
81
82
82
+
mutex_lock(&codec->mutex);
83
83
+
82
84
/* check the jack status at stream startup */
83
85
poodle_ext_control(codec);
86
86
+
87
87
+
mutex_unlock(&codec->mutex);
88
88
+
84
89
return 0;
85
90
}
86
91
+5
sound/soc/pxa/spitz.c
reviewed
···
110
110
struct snd_soc_pcm_runtime *rtd = substream->private_data;
111
111
struct snd_soc_codec *codec = rtd->codec;
112
112
113
113
+
mutex_lock(&codec->mutex);
114
114
+
113
115
/* check the jack status at stream startup */
114
116
spitz_ext_control(codec);
117
117
+
118
118
+
mutex_unlock(&codec->mutex);
119
119
+
115
120
return 0;
116
121
}
117
122
+5
sound/soc/pxa/tosa.c
reviewed
···
83
83
struct snd_soc_pcm_runtime *rtd = substream->private_data;
84
84
struct snd_soc_codec *codec = rtd->codec;
85
85
86
86
+
mutex_lock(&codec->mutex);
87
87
+
86
88
/* check the jack status at stream startup */
87
89
tosa_ext_control(codec);
90
90
+
91
91
+
mutex_unlock(&codec->mutex);
92
92
+
88
93
return 0;
89
94
}
90
95