[alsa-devel] [PATCH 1/3] ASoC: rt5659: fix wrong bit define for ADC L2 power.

Bard Liao bardliao at realtek.com
Mon Mar 12 12:50:07 CET 2018


RT5659_PWR_ADC_L2_BIT should be 2.

Signed-off-by: Zhong An <zhongan at pinecone.net>
Signed-off-by: Bard Liao <bardliao at realtek.com>
---
 sound/soc/codecs/rt5659.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5659.h b/sound/soc/codecs/rt5659.h
index 73969ef..3b51c8a 100644
--- a/sound/soc/codecs/rt5659.h
+++ b/sound/soc/codecs/rt5659.h
@@ -1008,7 +1008,7 @@
 #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)
-- 
2.7.4



More information about the Alsa-devel mailing list