ASoC: rt5682: fix headset background noise when S3 state
authorShuming Fan <shumingf@realtek.com>
Wed, 1 Sep 2021 10:07:54 +0000 (18:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 1 Sep 2021 16:32:08 +0000 (17:32 +0100)
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>
sound/soc/codecs/rt5682.c

index e822fa1..4a64cab 100644 (file)
@@ -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 |