summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5682.c
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2021-09-01 12:07:54 +0200
committerMark Brown <broonie@kernel.org>2021-09-01 18:32:08 +0200
commit0866d645b76d062b7d55091fd6fb80f058d0c384 (patch)
tree726383d7eac0395412629439e2d3bdb24e56c81a /sound/soc/codecs/rt5682.c
parentMerge tag 'asoc-v5.15' into asoc-5.15 (diff)
downloadlinux-0866d645b76d062b7d55091fd6fb80f058d0c384.tar.xz
linux-0866d645b76d062b7d55091fd6fb80f058d0c384.zip
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/soc/codecs/rt5682.c')
-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 |