ASoC: rt5682: optimize the power consumption
authorShuming Fan <shumingf@realtek.com>
Fri, 17 Jul 2020 07:02:28 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jul 2020 13:47:02 +0000 (14:47 +0100)
commit6301adf942a31bed65e026a554e5bd55d9e731e1
tree0d7a52ba50aa00a34b54a9594d7e38a70bdfc418
parentca00e66c1bc875aef7d84ec16418e08a14d0cda9
ASoC: rt5682: optimize the power consumption

Some settings should set to default value after the calibration.
This patch also disables the 25MHz and 1MHz clock power when the jack unplugged.
The JD is triggered by JDH, therefore this patch removes JDL setting.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20200717070228.28660-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682-i2c.c
sound/soc/codecs/rt5682-sdw.c
sound/soc/codecs/rt5682.c