summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2022-04-22 08:26:50 +0200
committerMark Brown <broonie@kernel.org>2022-04-22 13:37:20 +0200
commit87c18514bb8477563a61f50b4285da156296edc4 (patch)
tree186b0cba82507e3145af0fcd9096f6abb912a0ae /sound
parentASoC: meson: axg-card: Fix nonatomic links (diff)
downloadlinux-87c18514bb8477563a61f50b4285da156296edc4.tar.xz
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>
Diffstat (limited to 'sound')
-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: