]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: rt5659: fix wrong bit define for ADC L2 power.
authorBard Liao <bardliao@realtek.com>
Mon, 12 Mar 2018 11:50:07 +0000 (19:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 12 Mar 2018 16:26:19 +0000 (09:26 -0700)
RT5659_PWR_ADC_L2_BIT should be 2.

Signed-off-by: Zhong An <zhongan@pinecone.net>
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5659.h

index 8f1aeef084891eacb2c9aa85ef9040a9c714a06d..3ae2d74861ef2d56340fdf9b3e85ff4e8da91c42 100644 (file)
 #define RT5659_PWR_ADC_R1                      (0x1 << 3)
 #define RT5659_PWR_ADC_R1_BIT                  3
 #define RT5659_PWR_ADC_L2                      (0x1 << 2)
-#define RT5659_PWR_ADC_L2_BIT                  4
+#define RT5659_PWR_ADC_L2_BIT                  2
 #define RT5659_PWR_ADC_R2                      (0x1 << 1)
 #define RT5659_PWR_ADC_R2_BIT                  1
 #define RT5659_PWR_CLS_D                       (0x1)