]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: rt1320: fix random cycle mute issue
authorShuming Fan <shumingf@realtek.com>
Thu, 7 Aug 2025 09:24:32 +0000 (17:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2025 14:55:31 +0000 (16:55 +0200)
[ Upstream commit f48d7a1b0bf11d16d8c9f77a5b9c80a82272f625 ]

This patch fixed the random cycle mute issue that occurs during long-time playback.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20250807092432.997989-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt1320-sdw.c

index 015cc710e6dc08ae5e9b7a9ef765cdee15cd4f5e..d6d54168cccd09854018b7408bf35d8b9a6e08a8 100644 (file)
@@ -109,6 +109,7 @@ static const struct reg_sequence rt1320_blind_write[] = {
        { 0x0000d540, 0x01 },
        { 0xd172, 0x2a },
        { 0xc5d6, 0x01 },
+       { 0xd478, 0xff },
 };
 
 static const struct reg_sequence rt1320_vc_blind_write[] = {
@@ -159,7 +160,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0xd471, 0x3a },
        { 0xd474, 0x11 },
        { 0xd475, 0x32 },
-       { 0xd478, 0x64 },
+       { 0xd478, 0xff },
        { 0xd479, 0x20 },
        { 0xd47a, 0x10 },
        { 0xd47c, 0xff },