aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShuming Fan2021-09-01 18:07:54 +0800
committerMark Brown2021-09-01 17:32:08 +0100
commit0866d645b76d062b7d55091fd6fb80f058d0c384 (patch)
tree726383d7eac0395412629439e2d3bdb24e56c81a /sound
parent0f2ef911de0bdf3a0ea1d9b28e9126d3e018bbd5 (diff)
ASoC: rt5682: fix headset background noise when S3 state
Remove CBJ power off setting to avoid floating state. Signed-off-by: Jack Yu <jack.yu@realtek.com> Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20210901100754.21045-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5682.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index e822fa1b9d4b..4a64cab99c55 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -2942,9 +2942,6 @@ static int rt5682_suspend(struct snd_soc_component *component)
break;
}
- snd_soc_component_update_bits(component, RT5682_PWR_ANLG_3,
- RT5682_PWR_CBJ, 0);
-
/* enter SAR ADC power saving mode */
snd_soc_component_update_bits(component, RT5682_SAR_IL_CMD_1,
RT5682_SAR_BUTT_DET_MASK | RT5682_SAR_BUTDET_MODE_MASK |