]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: rt711-sdw: add missing readable registers
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 4 Jul 2024 09:23:27 +0000 (17:23 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jul 2024 11:09:10 +0000 (12:09 +0100)
Those registers will be used when JD source is RT711_JD2_1P8V_1PORT.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20240704092327.652609-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt711-sdw.c

index 8ca8bcd177ab495b2c59ef60d2ee177dda978789..dfda6bb5c6f8b8ed9b24f0dbaf89041a89d60122 100644 (file)
@@ -38,7 +38,9 @@ static bool rt711_readable_register(struct device *dev, unsigned int reg)
        case 0x8300 ... 0x83ff:
        case 0x9c00 ... 0x9cff:
        case 0xb900 ... 0xb9ff:
+       case 0x752008:
        case 0x752009:
+       case 0x75200b:
        case 0x752011:
        case 0x75201a:
        case 0x752045: