]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: rt5650: Eliminate the high frequency glitch
authorDerek Fang <derek.fang@realtek.com>
Mon, 21 Jul 2025 03:47:28 +0000 (11:47 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jul 2025 12:26:52 +0000 (13:26 +0100)
The glitch was detected in the high frequency of the HP playback.
This patch adjusts the DAC dither setting to avoid this situation
for almost all cases.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://patch.msgid.link/20250721034728.1396238-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c

index 08df87238eee95a2b71508b95dc9e8531a521d78..29a403526cd9e98ad943f359427a9a5bec6681f9 100644 (file)
@@ -82,6 +82,7 @@ static const struct reg_sequence rt5650_init_list[] = {
        {0xf6,  0x0100},
        {RT5645_PWR_ANLG1, 0x02},
        {RT5645_IL_CMD3, 0x6728},
+       {RT5645_PR_BASE + 0x3a, 0x0000},
 };
 
 static const struct reg_default rt5645_reg[] = {