From: ChiYuan Huang Date: Fri, 22 Apr 2022 06:26:50 +0000 (+0800) Subject: ASoC: rt9120: Correct the reg 0x09 size to one byte X-Git-Tag: v5.18-rc6~8^2^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87c18514bb8477563a61f50b4285da156296edc4;p=thirdparty%2Flinux.git ASoC: rt9120: Correct the reg 0x09 size to one byte Correct the reg 0x09 size to one byte. Signed-off-by: ChiYuan Huang 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 --- diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c index 7aa1772a915f3..6e0d7cf0c8c92 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: