diff options
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r-- | sound/soc/samsung/speyside.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c index 612a39e0e108..e171a321889f 100644 --- a/sound/soc/samsung/speyside.c +++ b/sound/soc/samsung/speyside.c | |||
@@ -190,6 +190,12 @@ static struct snd_soc_codec_conf speyside_codec_conf[] = { | |||
190 | }, | 190 | }, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | static const struct snd_kcontrol_new controls[] = { | ||
194 | SOC_DAPM_PIN_SWITCH("Main Speaker"), | ||
195 | SOC_DAPM_PIN_SWITCH("Main DMIC"), | ||
196 | SOC_DAPM_PIN_SWITCH("Main AMIC"), | ||
197 | }; | ||
198 | |||
193 | static struct snd_soc_dapm_widget widgets[] = { | 199 | static struct snd_soc_dapm_widget widgets[] = { |
194 | SND_SOC_DAPM_HP("Headphone", NULL), | 200 | SND_SOC_DAPM_HP("Headphone", NULL), |
195 | SND_SOC_DAPM_MIC("Headset Mic", NULL), | 201 | SND_SOC_DAPM_MIC("Headset Mic", NULL), |
@@ -238,6 +244,8 @@ static struct snd_soc_card speyside = { | |||
238 | 244 | ||
239 | .set_bias_level = speyside_set_bias_level, | 245 | .set_bias_level = speyside_set_bias_level, |
240 | 246 | ||
247 | .controls = controls, | ||
248 | .num_controls = ARRAY_SIZE(controls), | ||
241 | .dapm_widgets = widgets, | 249 | .dapm_widgets = widgets, |
242 | .num_dapm_widgets = ARRAY_SIZE(widgets), | 250 | .num_dapm_widgets = ARRAY_SIZE(widgets), |
243 | .dapm_routes = audio_paths, | 251 | .dapm_routes = audio_paths, |