summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2022-04-22 14:26:50 +0800
committerMark Brown <broonie@kernel.org>2022-04-22 12:37:20 +0100
commit87c18514bb8477563a61f50b4285da156296edc4 (patch)
tree186b0cba82507e3145af0fcd9096f6abb912a0ae
parent0c9b152c72e53016e96593bdbb8cffe2176694b9 (diff)
downloadlinux-87c18514bb8477563a61f50b4285da156296edc4.tar.gz
linux-87c18514bb8477563a61f50b4285da156296edc4.tar.bz2
linux-87c18514bb8477563a61f50b4285da156296edc4.zip
ASoC: rt9120: Correct the reg 0x09 size to one byte
Correct the reg 0x09 size to one byte. Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/1650608810-3829-1-git-send-email-u0084500@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt9120.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c
index 7aa1772a915f..6e0d7cf0c8c9 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: