]> www.infradead.org Git - users/willy/linux.git/commitdiff
ASoC: rt1015: Enable class-D silence and clock detections
authorderek.fang <derek.fang@realtek.com>
Fri, 29 May 2020 11:05:10 +0000 (19:05 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 12:30:06 +0000 (13:30 +0100)
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>
sound/soc/codecs/rt1015.c

index 5eb07a430ae35791211b8f8bb186cda2dca41537..67e2e944d21b6f14c79c7bf80544a71f182e24df 100644 (file)
@@ -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);