Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rt721: add some vendor registers

This patch added some vendor registers to read for debugging.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20250808055719.1110808-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shuming Fan and committed by
Mark Brown
2399f3bd 9d6a5165

+6 -4
+6 -4
sound/soc/codecs/rt721-sdca-sdw.c
··· 63 63 static bool rt721_sdca_mbq_readable_register(struct device *dev, unsigned int reg) 64 64 { 65 65 switch (reg) { 66 - case 0x0900007: 66 + case 0x0900004 ... 0x0900009: 67 67 case 0x0a00005: 68 68 case 0x0c00005: 69 69 case 0x0d00014: 70 70 case 0x0310100: 71 - case 0x2000001: 72 - case 0x2000002: 73 - case 0x2000003: 71 + case 0x2000000 ... 0x2000003: 74 72 case 0x2000013: 73 + case 0x200002c: 75 74 case 0x200003c: 76 75 case 0x2000046: 77 76 case 0x5810000: ··· 133 134 { 134 135 switch (reg) { 135 136 case 0x0310100: 137 + case 0x0900005: 138 + case 0x0900009: 136 139 case 0x0a00005: 137 140 case 0x0c00005: 138 141 case 0x0d00014: ··· 142 141 case 0x200000d: 143 142 case 0x2000019: 144 143 case 0x2000020: 144 + case 0x200002c: 145 145 case 0x2000030: 146 146 case 0x2000046: 147 147 case 0x2000067: