ASoC: rt5682: cancel jack_detect_work if hs_jack is set to null even soundwire mode
authorOder Chiou <oder_chiou@realtek.com>
Wed, 1 Jul 2020 07:16:45 +0000 (15:16 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jul 2020 13:20:00 +0000 (14:20 +0100)
commitbc4be656471b39af8f2ad57ee372012c55da1da7
tree4912b3da80f4eb2d87a004991a95f6dfb1628177
parent3f31f7d9b5404a10648abe536c8b408bfb4502e1
ASoC: rt5682: cancel jack_detect_work if hs_jack is set to null even soundwire mode

Base on https://patchwork.kernel.org/patch/11237953/
Soundwire mode also should follow it.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/20200701071645.32061-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c