alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: wcd934x: fix typo and a duplicate register define
@ 2021-12-10 11:47 Srinivas Kandagatla
  0 siblings, 0 replies; only message in thread
From: Srinivas Kandagatla @ 2021-12-10 11:47 UTC (permalink / raw)
  To: lee.jones; +Cc: alsa-devel, linux-kernel

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@linaro.org>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-10 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 11:47 [PATCH] mfd: wcd934x: fix typo and a duplicate register define Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).