summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDerek Fang <derek.fang@realtek.com>2023-07-12 14:25:53 +0800
committerMark Brown <broonie@kernel.org>2023-07-14 14:44:21 +0100
commitcc8ff2dfcb948f16267335ba5440a42abb41aee2 (patch)
tree248be3c55da0ba08160b58f5fb0866bc8309b77b /sound
parentc65b21f8aeac86768d387a86dfcbec5980480b6a (diff)
ASoC: rt5640: Fix the issue of speaker noise
Remove the class-D internal register setting during initialization to be compatible with most speaker designs to avoid noise. Signed-off-by: Derek Fang <derek.fang@realtek.com> Link: https://lore.kernel.org/r/20230712062553.31066-1-derek.fang@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5640.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index e24ed754ac56..eceed8209787 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -53,7 +53,6 @@ static const struct reg_sequence init_list[] = {
{RT5640_PR_BASE + 0x3d, 0x3600},
{RT5640_PR_BASE + 0x12, 0x0aa8},
{RT5640_PR_BASE + 0x14, 0x0aaa},
- {RT5640_PR_BASE + 0x20, 0x6110},
{RT5640_PR_BASE + 0x21, 0xe0e0},
{RT5640_PR_BASE + 0x23, 0x1804},
};