ASoC: rt5645: Remove adc stereo2 filter
authorBard Liao <bardliao@realtek.com>
Fri, 13 Mar 2015 02:50:26 +0000 (10:50 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 13 Mar 2015 11:13:16 +0000 (11:13 +0000)
Remove adc stereo2 filter since it is not in rt5645/rt5650 codec.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.h

index b79347688873ba864ffcc9cb9ca4f52a8060abdf..4c384a14de1d260b1aacb16bf0a12466c1388b40 100644 (file)
@@ -1538,8 +1538,6 @@ static const struct snd_soc_dapm_widget rt5645_dapm_widgets[] = {
 
        SND_SOC_DAPM_SUPPLY_S("adc stereo1 filter", 1, RT5645_PWR_DIG2,
                RT5645_PWR_ADC_S1F_BIT, 0, NULL, 0),
-       SND_SOC_DAPM_SUPPLY_S("adc stereo2 filter", 1, RT5645_PWR_DIG2,
-               RT5645_PWR_ADC_S2F_BIT, 0, NULL, 0),
        SND_SOC_DAPM_MIXER_E("Sto1 ADC MIXL", SND_SOC_NOPM, 0, 0,
                rt5645_sto1_adc_l_mix, ARRAY_SIZE(rt5645_sto1_adc_l_mix),
                NULL, 0),
@@ -1729,7 +1727,6 @@ static const struct snd_soc_dapm_widget rt5650_specific_dapm_widgets[] = {
 
 static const struct snd_soc_dapm_route rt5645_dapm_routes[] = {
        { "adc stereo1 filter", NULL, "ADC STO1 ASRC", is_using_asrc },
-       { "adc stereo2 filter", NULL, "ADC STO2 ASRC", is_using_asrc },
        { "adc mono left filter", NULL, "ADC MONO L ASRC", is_using_asrc },
        { "adc mono right filter", NULL, "ADC MONO R ASRC", is_using_asrc },
        { "dac mono left filter", NULL, "DAC MONO L ASRC", is_using_asrc },
index dbfd98c22f4dea617b48b7fbbf214452421bd13e..db78e9462876978e7a3a3917c31c982a487f5fbd 100644 (file)
 #define RT5645_PWR_DAC_MF_L_BIT                        10
 #define RT5645_PWR_DAC_MF_R                    (0x1 << 9)
 #define RT5645_PWR_DAC_MF_R_BIT                        9
-#define RT5645_PWR_ADC_S2F                     (0x1 << 8)
-#define RT5645_PWR_ADC_S2F_BIT                 8
 #define RT5645_PWR_PDM1                                (0x1 << 7)
 #define RT5645_PWR_PDM1_BIT                    7
 #define RT5645_PWR_PDM2                                (0x1 << 6)