[PATCH] ASoC: rt9120: Correct the reg 0x09 size to one byte
cy_huang
u0084500 at gmail.com
Fri Apr 22 08:26:50 CEST 2022
From: ChiYuan Huang <cy_huang at richtek.com>
Correct the reg 0x09 size to one byte.
Signed-off-by: ChiYuan Huang <cy_huang at 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 --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:
--
2.7.4
More information about the Alsa-devel
mailing list