diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-30 11:43:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-30 11:43:04 -0400 |
commit | 54ac045026d4172a1df21e61adc8e67369d00058 (patch) | |
tree | e5a8f356e09291248c7e1798ca3b8b37b1875a7c /sound | |
parent | 2daabd7848b89afddd93be616f1be5639ea78822 (diff) | |
parent | 868ead653e7f65a9ac05777d0736a181a3c1c150 (diff) |
Merge remote-tracking branch 'asoc/topic/rt5640' into asoc-dapm
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt5640.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index ce585e37e38a..4db7314baabc 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c | |||
@@ -737,29 +737,6 @@ static const struct snd_kcontrol_new rt5640_mono_mix[] = { | |||
737 | RT5640_M_BST1_MM_SFT, 1, 1), | 737 | RT5640_M_BST1_MM_SFT, 1, 1), |
738 | }; | 738 | }; |
739 | 739 | ||
740 | /* INL/R source */ | ||
741 | static const char * const rt5640_inl_src[] = { | ||
742 | "IN2P", "MONOP" | ||
743 | }; | ||
744 | |||
745 | static const SOC_ENUM_SINGLE_DECL( | ||
746 | rt5640_inl_enum, RT5640_INL_INR_VOL, | ||
747 | RT5640_INL_SEL_SFT, rt5640_inl_src); | ||
748 | |||
749 | static const struct snd_kcontrol_new rt5640_inl_mux = | ||
750 | SOC_DAPM_ENUM("INL source", rt5640_inl_enum); | ||
751 | |||
752 | static const char * const rt5640_inr_src[] = { | ||
753 | "IN2N", "MONON" | ||
754 | }; | ||
755 | |||
756 | static const SOC_ENUM_SINGLE_DECL( | ||
757 | rt5640_inr_enum, RT5640_INL_INR_VOL, | ||
758 | RT5640_INR_SEL_SFT, rt5640_inr_src); | ||
759 | |||
760 | static const struct snd_kcontrol_new rt5640_inr_mux = | ||
761 | SOC_DAPM_ENUM("INR source", rt5640_inr_enum); | ||
762 | |||
763 | /* Stereo ADC source */ | 740 | /* Stereo ADC source */ |
764 | static const char * const rt5640_stereo_adc1_src[] = { | 741 | static const char * const rt5640_stereo_adc1_src[] = { |
765 | "DIG MIX", "ADC" | 742 | "DIG MIX", "ADC" |
@@ -1005,9 +982,6 @@ static const struct snd_soc_dapm_widget rt5640_dapm_widgets[] = { | |||
1005 | RT5640_PWR_IN_L_BIT, 0, NULL, 0), | 982 | RT5640_PWR_IN_L_BIT, 0, NULL, 0), |
1006 | SND_SOC_DAPM_PGA("INR VOL", RT5640_PWR_VOL, | 983 | SND_SOC_DAPM_PGA("INR VOL", RT5640_PWR_VOL, |
1007 | RT5640_PWR_IN_R_BIT, 0, NULL, 0), | 984 | RT5640_PWR_IN_R_BIT, 0, NULL, 0), |
1008 | /* IN Mux */ | ||
1009 | SND_SOC_DAPM_MUX("INL Mux", SND_SOC_NOPM, 0, 0, &rt5640_inl_mux), | ||
1010 | SND_SOC_DAPM_MUX("INR Mux", SND_SOC_NOPM, 0, 0, &rt5640_inr_mux), | ||
1011 | /* REC Mixer */ | 985 | /* REC Mixer */ |
1012 | SND_SOC_DAPM_MIXER("RECMIXL", RT5640_PWR_MIXER, RT5640_PWR_RM_L_BIT, 0, | 986 | SND_SOC_DAPM_MIXER("RECMIXL", RT5640_PWR_MIXER, RT5640_PWR_RM_L_BIT, 0, |
1013 | rt5640_rec_l_mix, ARRAY_SIZE(rt5640_rec_l_mix)), | 987 | rt5640_rec_l_mix, ARRAY_SIZE(rt5640_rec_l_mix)), |