]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: cancel jack_detect_work if hs_jack is set to null
authorBard liao <yung-chuan.liao@linux.intel.com>
Mon, 11 Nov 2019 22:21:52 +0000 (16:21 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 12 Nov 2019 12:08:10 +0000 (12:08 +0000)
commit76ed91a06d8efd7d61d40563ec142d72fa425aaf
tree37426a73e96f6f8481bc06a2fb6438d69ef664ef
parent36660d98d6b4fc344ff5a01e9eb810ccad83403f
ASoC: rt5682: cancel jack_detect_work if hs_jack is set to null

jack_detect_work will be triggered by rt5682_irq. We should cancel
it if hs_jack is set to null.

Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191111222152.19723-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c