]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Re-detect the combo jack after resuming
authorDerek Fang <derek.fang@realtek.com>
Tue, 9 Nov 2021 09:54:50 +0000 (17:54 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Nov 2021 18:16:43 +0000 (18:16 +0000)
commit7d3e86890ed26fde6bb551493b3ad7c1c7327c2f
treec3999f4fd7ba1102800b575de9b7eece2fb52646
parenta8bb1324ff649dcd309567b15353935dd8d90bb9
ASoC: rt5682: Re-detect the combo jack after resuming

Sometimes, end-users change the jack type under suspending,
so it needs to re-detect the combo jack type after resuming to
avoid any unexpected behaviors.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20211109095450.12950-2-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682-i2c.c
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h