ASoC: rt5645: add the system level suspend-resume callback
authorShuming Fan <shumingf@realtek.com>
Wed, 5 Jul 2023 04:29:31 +0000 (12:29 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:51:04 +0000 (22:51 +0100)
commitc7a0f10b885164e4804dc144c375076c2e0d39f6
tree1d5c64e6b634acc2fd0c34735de686e92d3711f7
parentc70064b96f509daa78f57992aeabcf274fb2fed4
ASoC: rt5645: add the system level suspend-resume callback

This patch handles the regmap settings and re-detects the jack when the system level
suspend/resume.

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