]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit914df89454b9778c03f6e0c938b2456c157d3885
tree0d7a52ba50aa00a34b54a9594d7e38a70bdfc418
parent067d61c940db29738d7842ff51246e0530a147c9
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