]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: sof_rt5682: add remove function to disable jack
authorJaska Uimonen <jaska.uimonen@intel.com>
Fri, 27 Sep 2019 20:14:08 +0000 (15:14 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 17:32:53 +0000 (18:32 +0100)
commit8b1c0efd61685c64165181b62e8abb88261d0199
tree4cb840c7cf2e668b3859878c76cb591e999ac70e
parent75d90f07114bdc6757dc71daf57db4f5f23cd884
ASoC: intel: sof_rt5682: add remove function to disable jack

When removing sof module the rt5682 jack handler will oops
if jack detection is not disabled. So add remove function,
which disables the jack detection.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927201408.925-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c