summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2017-03-20 10:20:53 +0800
committerMark Brown <broonie@kernel.org>2017-03-20 11:25:05 +0000
commit83749abaafed348cdac6a63b5f76aa9b1b42409b (patch)
tree9faebabb9599de2ff6c9f807b7fd83afd2eefc73
parent763811987d5088d0461164f80e9d16869847a040 (diff)
downloadop-kernel-dev-83749abaafed348cdac6a63b5f76aa9b1b42409b.zip
op-kernel-dev-83749abaafed348cdac6a63b5f76aa9b1b42409b.tar.gz
ASoC: rt5665: fix wrong shift rt5665_if2_1_adc_in_enum
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>
-rw-r--r--sound/soc/codecs/rt5665.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c
index 6113716..476135e 100644
--- a/sound/soc/codecs/rt5665.c
+++ b/sound/soc/codecs/rt5665.c
@@ -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);
OpenPOWER on IntegriCloud