[PATCH] Enable class-D silence and clock detections

derek.fang at realtek.com derek.fang at realtek.com
Fri May 29 13:05:10 CEST 2020


From: "derek.fang" <derek.fang at realtek.com>

Avoid noise under bypass boost mode.

Signed-off-by: derek.fang <derek.fang at realtek.com>
---
 sound/soc/codecs/rt1015.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c
index 5eb07a4..67e2e94 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);
-- 
2.7.4



More information about the Alsa-devel mailing list