ASoC: codecs: msm8916-analog: fix DIG_CLK_CTL_RXD3_CLK_EN define
authorDamien Riegel <damien.riegel@savoirfairelinux.com>
Tue, 25 Jul 2017 17:51:24 +0000 (13:51 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 16:11:10 +0000 (17:11 +0100)
The wrong bit is assigned to DIG_CLK_CTL_RXD3_CLK_EN, change it for the
correct one.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-analog.c

index a788029..5710fd4 100644 (file)
@@ -36,7 +36,7 @@
 #define CDC_D_CDC_DIG_CLK_CTL          (0xf04A)
 #define DIG_CLK_CTL_RXD1_CLK_EN                BIT(0)
 #define DIG_CLK_CTL_RXD2_CLK_EN                BIT(1)
-#define DIG_CLK_CTL_RXD3_CLK_EN                BIT(3)
+#define DIG_CLK_CTL_RXD3_CLK_EN                BIT(2)
 #define DIG_CLK_CTL_TXD_CLK_EN         BIT(4)
 #define DIG_CLK_CTL_NCP_CLK_EN_MASK    BIT(6)
 #define DIG_CLK_CTL_NCP_CLK_EN         BIT(6)