diff options
author | Mark Brown <broonie@linaro.org> | 2014-05-21 19:23:44 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-21 19:23:44 -0400 |
commit | e3ac3f2510e5adb62eb4296d3fd0fac5441b2037 (patch) | |
tree | 1c6ef3f82fbd8f77129beb3c411c4b8bf2edd60c /sound/soc/codecs/max98090.c | |
parent | 566d4eeff85a8112dddab9d455322e1fcf5defe7 (diff) | |
parent | 9de98da2a7531ec9dedfbe95d69ee55237bbd9d5 (diff) |
Merge remote-tracking branch 'asoc/topic/enum' into asoc-next
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 57fc4c315033..906534d18d3f 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c | |||
@@ -877,7 +877,7 @@ static const char *dmic_mux_text[] = { "ADC", "DMIC" }; | |||
877 | static SOC_ENUM_SINGLE_VIRT_DECL(dmic_mux_enum, dmic_mux_text); | 877 | static SOC_ENUM_SINGLE_VIRT_DECL(dmic_mux_enum, dmic_mux_text); |
878 | 878 | ||
879 | static const struct snd_kcontrol_new max98090_dmic_mux = | 879 | static const struct snd_kcontrol_new max98090_dmic_mux = |
880 | SOC_DAPM_ENUM_VIRT("DMIC Mux", dmic_mux_enum); | 880 | SOC_DAPM_ENUM("DMIC Mux", dmic_mux_enum); |
881 | 881 | ||
882 | static const char *max98090_micpre_text[] = { "Off", "On" }; | 882 | static const char *max98090_micpre_text[] = { "Off", "On" }; |
883 | 883 | ||
@@ -1177,8 +1177,7 @@ static const struct snd_soc_dapm_widget max98090_dapm_widgets[] = { | |||
1177 | SND_SOC_DAPM_MUX("MIC2 Mux", SND_SOC_NOPM, | 1177 | SND_SOC_DAPM_MUX("MIC2 Mux", SND_SOC_NOPM, |
1178 | 0, 0, &max98090_mic2_mux), | 1178 | 0, 0, &max98090_mic2_mux), |
1179 | 1179 | ||
1180 | SND_SOC_DAPM_VIRT_MUX("DMIC Mux", SND_SOC_NOPM, | 1180 | SND_SOC_DAPM_MUX("DMIC Mux", SND_SOC_NOPM, 0, 0, &max98090_dmic_mux), |
1181 | 0, 0, &max98090_dmic_mux), | ||
1182 | 1181 | ||
1183 | SND_SOC_DAPM_PGA_E("MIC1 Input", M98090_REG_MIC1_INPUT_LEVEL, | 1182 | SND_SOC_DAPM_PGA_E("MIC1 Input", M98090_REG_MIC1_INPUT_LEVEL, |
1184 | M98090_MIC_PA1EN_SHIFT, 0, NULL, 0, max98090_micinput_event, | 1183 | M98090_MIC_PA1EN_SHIFT, 0, NULL, 0, max98090_micinput_event, |