]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: codecs: rtq9128: Modify the chip initial setting
authorChiYuan Huang <cy_huang@richtek.com>
Mon, 12 Jan 2026 01:27:32 +0000 (09:27 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jan 2026 16:23:08 +0000 (16:23 +0000)
Modify the chip initial setting to default enable DC load detection
function. This function is the chip specific feature that can detect
the output open/short.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://patch.msgid.link/340c88ae78edeb76cde812453c9a72d28b73e9f4.1768180827.git.cy_huang@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rtq9128.c

index 391cc03d687f258639c3be61c4e6225c1e58ebc3..289bb3c04a90ced11ccb27da7580fb8f269c075d 100644 (file)
@@ -352,7 +352,7 @@ static const struct snd_soc_dapm_route rtq9128_dapm_routes[] = {
 static const struct rtq9128_init_reg rtq9128_tka470b_tables[] = {
        { 0xA0, 0xEF },
        { 0x0D, 0x00 },
-       { 0x03, 0x05 },
+       { 0x03, 0x45 },
        { 0x05, 0x31 },
        { 0x06, 0x23 },
        { 0x70, 0x11 },
@@ -367,7 +367,7 @@ static const struct rtq9128_init_reg rtq9128_tka470b_tables[] = {
 
 static const struct rtq9128_init_reg rtq9128_dh_tables[] = {
        { 0x0F, 0x00 },
-       { 0x03, 0x0D },
+       { 0x03, 0x4D },
        { 0xB2, 0xFF },
        { 0xB3, 0xFF },
        { 0x30, 0x180 },
@@ -378,7 +378,7 @@ static const struct rtq9128_init_reg rtq9128_dh_tables[] = {
 
 static const struct rtq9128_init_reg rtq9128_dl_tables[] = {
        { 0x0F, 0x00 },
-       { 0x03, 0x0D },
+       { 0x03, 0x4D },
        { 0x30, 0x180 },
        { 0x8A, 0x55 },
        { 0x72, 0x00 },