[PATCH] mfd: wcd934x: fix typo and a duplicate register define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like we ended up with a typo and a duplicate in WCD register defines.
Fix these.

Fixes: 6ac7e4d7ad70 ("mfd: wcd934x: Add support to wcd9340/wcd9341 codec")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
 include/linux/mfd/wcd934x/registers.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/mfd/wcd934x/registers.h b/include/linux/mfd/wcd934x/registers.h
index 76a943c83c63..bcec70a66fff 100644
--- a/include/linux/mfd/wcd934x/registers.h
+++ b/include/linux/mfd/wcd934x/registers.h
@@ -34,7 +34,6 @@
 #define WCD934X_DMIC_RATE_MASK					GENMASK(3, 1)
 #define WCD934X_CPE_SS_DMIC2_CTL				0x021a
 #define WCD934X_CPE_SS_DMIC_CFG					0x021b
-#define WCD934X_CPE_SS_DMIC_CFG					0x021b
 #define WCD934X_CPE_SS_CPAR_CFG					0x021c
 #define WCD934X_INTR_PIN1_MASK0					0x0409
 #define WCD934X_INTR_PIN1_STATUS0				0x0411
@@ -375,7 +374,7 @@
 #define WCD934X_CDC_RX2_RX_PATH_SEC3				0x0b74
 #define WCD934X_CDC_RX2_RX_PATH_DSMDEM_CTL			0x0b7b
 #define WCD934X_CDC_RX3_RX_PATH_CTL				0x0b7d
-#define WCD934X_CDC_RX3_RX_PATH_CFG0				0x0b6e
+#define WCD934X_CDC_RX3_RX_PATH_CFG0				0x0b7e
 #define WCD934X_CDC_RX3_RX_PATH_CFG2				0x0b80
 #define WCD934X_CDC_RX3_RX_VOL_CTL				0x0b81
 #define WCD934X_CDC_RX3_RX_PATH_MIX_CTL				0x0b82
-- 
2.21.0




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux