ASoC: rt9120: Correct the reg 0x09 size to one byte
authorChiYuan Huang <cy_huang@richtek.com>
Fri, 22 Apr 2022 06:26:50 +0000 (14:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Apr 2022 11:37:20 +0000 (12:37 +0100)
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>
sound/soc/codecs/rt9120.c

index 7aa1772a915f322b7e3a0fce8fcfdba1a4458a2e..6e0d7cf0c8c92647f41e6cffa591ad20c719405e 100644 (file)
@@ -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: