summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorderek.fang <derek.fang@realtek.com>2020-05-29 19:05:10 +0800
committerMark Brown <broonie@kernel.org>2020-05-29 13:30:06 +0100
commit2aec8ccc1a814ca41b70710e1960afd034d1e3ab (patch)
tree66a7cfddf0333992c1ab207ad04efe7c7fa7e73c /sound
parentc8b47d63ad8755780b6b70dbe57ab8333bcc4a0f (diff)
downloadlinux-2aec8ccc1a814ca41b70710e1960afd034d1e3ab.tar.bz2
ASoC: rt1015: Enable class-D silence and clock detections
Avoid noise under bypass boost mode. Signed-off-by: derek.fang <derek.fang@realtek.com> Link: https://lore.kernel.org/r/1590750310-30085-1-git-send-email-derek.fang@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt1015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c
index 5eb07a430ae3..67e2e944d21b 100644
--- a/sound/soc/codecs/rt1015.c
+++ b/sound/soc/codecs/rt1015.c
@@ -475,7 +475,7 @@ static int rt1015_bypass_boost_put(struct snd_kcontrol *kcontrol,
snd_soc_component_write(component,
RT1015_CLSD_INTERNAL9, 0x0140);
snd_soc_component_write(component,
- RT1015_GAT_BOOST, 0x00fe);
+ RT1015_GAT_BOOST, 0x0efe);
snd_soc_component_write(component,
RT1015_PWR_STATE_CTRL, 0x000d);
msleep(500);