Unverified Commit 87c18514 authored by ChiYuan Huang's avatar ChiYuan Huang Committed by Mark Brown
Browse files

ASoC: rt9120: Correct the reg 0x09 size to one byte



Correct the reg 0x09 size to one byte.

Signed-off-by: default avatarChiYuan 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: default avatarMark Brown <broonie@kernel.org>
parent 0c9b152c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: