ASoC: rt5665: fix wrong shift rt5665_if2_1_adc_in_enum
authorBard Liao <bardliao@realtek.com>
Mon, 20 Mar 2017 02:20:53 +0000 (10:20 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2017 11:25:05 +0000 (11:25 +0000)
The shift is RT5665_IF2_1_ADC_IN_SFT not RT5665_IF3_ADC_IN_SFT.

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

index 61137160c116143f289fded3c7c7470e578ee9e0..476135ec57268cf6863e9792d5fb027c6383e190 100644 (file)
@@ -2252,7 +2252,7 @@ static const char * const rt5665_if2_1_adc_in_src[] = {
 
 static const SOC_ENUM_SINGLE_DECL(
        rt5665_if2_1_adc_in_enum, RT5665_DIG_INF2_DATA,
-       RT5665_IF3_ADC_IN_SFT, rt5665_if2_1_adc_in_src);
+       RT5665_IF2_1_ADC_IN_SFT, rt5665_if2_1_adc_in_src);
 
 static const struct snd_kcontrol_new rt5665_if2_1_adc_in_mux =
        SOC_DAPM_ENUM("IF2_1 ADC IN Source", rt5665_if2_1_adc_in_enum);