diff mbox series

ASoC: rt9120: Correct the reg 0x09 size to one byte

Message ID 1650608810-3829-1-git-send-email-u0084500@gmail.com
State New
Headers show
Series ASoC: rt9120: Correct the reg 0x09 size to one byte | expand

Commit Message

cy_huang April 22, 2022, 6:26 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>

Correct the reg 0x09 size to one byte.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
Sorry, in the original datasheet, reg 0x09 size is marked as 2 bytes.
But actually it's one byte RG size.
---
 sound/soc/codecs/rt9120.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c
index 7aa1772..6e0d7cf 100644
--- a/sound/soc/codecs/rt9120.c
+++ b/sound/soc/codecs/rt9120.c
@@ -341,7 +341,6 @@  static int rt9120_get_reg_size(unsigned int reg)
 {
 	switch (reg) {
 	case 0x00:
-	case 0x09:
 	case 0x20 ... 0x27:
 		return 2;
 	case 0x30 ... 0x3D: