]> 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)
commitc8c5974ca1e563f2e6b91249d9dd7c0b8fa54e8b
tree4cb840c7cf2e668b3859878c76cb591e999ac70e
parent8d217c050afb0332fdfbc11f9a7c99a972a68ff8
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