Commit 2aec8ccc authored by derek.fang's avatar derek.fang Committed by Mark Brown

ASoC: rt1015: Enable class-D silence and clock detections

Avoid noise under bypass boost mode.
Signed-off-by: default avatarderek.fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/1590750310-30085-1-git-send-email-derek.fang@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c8b47d63
...@@ -475,7 +475,7 @@ static int rt1015_bypass_boost_put(struct snd_kcontrol *kcontrol, ...@@ -475,7 +475,7 @@ static int rt1015_bypass_boost_put(struct snd_kcontrol *kcontrol,
snd_soc_component_write(component, snd_soc_component_write(component,
RT1015_CLSD_INTERNAL9, 0x0140); RT1015_CLSD_INTERNAL9, 0x0140);
snd_soc_component_write(component, snd_soc_component_write(component,
RT1015_GAT_BOOST, 0x00fe); RT1015_GAT_BOOST, 0x0efe);
snd_soc_component_write(component, snd_soc_component_write(component,
RT1015_PWR_STATE_CTRL, 0x000d); RT1015_PWR_STATE_CTRL, 0x000d);
msleep(500); msleep(500);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment