Skip to content

Commit 275213c

Browse files
shumingfanSasha Levin
authored andcommitted
ASoC: rt1320: fix speaker noise when volume bar is 100%
[ Upstream commit 9adf2de ] This patch updates the settings to fix the speaker noise. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20250602085851.4081886-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d5741b3 commit 275213c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

sound/soc/codecs/rt1320-sdw.c

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ static const struct reg_sequence rt1320_vc_patch_code_write[] = {
20852085
{ 0x3fc2bfc0, 0x03 },
20862086
{ 0x0000d486, 0x43 },
20872087
{ SDW_SDCA_CTL(FUNC_NUM_AMP, RT1320_SDCA_ENT_PDE23, RT1320_SDCA_CTL_REQ_POWER_STATE, 0), 0x00 },
2088-
{ 0x1000db00, 0x04 },
2088+
{ 0x1000db00, 0x07 },
20892089
{ 0x1000db01, 0x00 },
20902090
{ 0x1000db02, 0x11 },
20912091
{ 0x1000db03, 0x00 },
@@ -2106,6 +2106,21 @@ static const struct reg_sequence rt1320_vc_patch_code_write[] = {
21062106
{ 0x1000db12, 0x00 },
21072107
{ 0x1000db13, 0x00 },
21082108
{ 0x1000db14, 0x45 },
2109+
{ 0x1000db15, 0x0d },
2110+
{ 0x1000db16, 0x01 },
2111+
{ 0x1000db17, 0x00 },
2112+
{ 0x1000db18, 0x00 },
2113+
{ 0x1000db19, 0xbf },
2114+
{ 0x1000db1a, 0x13 },
2115+
{ 0x1000db1b, 0x09 },
2116+
{ 0x1000db1c, 0x00 },
2117+
{ 0x1000db1d, 0x00 },
2118+
{ 0x1000db1e, 0x00 },
2119+
{ 0x1000db1f, 0x12 },
2120+
{ 0x1000db20, 0x09 },
2121+
{ 0x1000db21, 0x00 },
2122+
{ 0x1000db22, 0x00 },
2123+
{ 0x1000db23, 0x00 },
21092124
{ 0x0000d540, 0x01 },
21102125
{ 0x0000c081, 0xfc },
21112126
{ 0x0000f01e, 0x80 },

0 commit comments

Comments
 (0)