]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: broadwell: Fix oops during module removal
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 27 Apr 2020 16:29:53 +0000 (09:29 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2020 11:14:30 +0000 (12:14 +0100)
commit7eaf8cba3d8ed6edf1bd4a9794a7ec001ebc4ada
tree89e42ab1f8dd8fd9eec3dc135c9be50840e0d642
parenta9152a37706b05ebd1b0ad9231a88feb48e44b7b
ASoC: Intel: broadwell: Fix oops during module removal

When removing the SOF module, the RT286 jack detect
handler will oops if jack detection is not disabled.
Disable the jack in the machine driver remove callback
to prevent this. This fix is only for SOF support and is
not needed for earlier versions.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200427162953.21107-1-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/broadwell.c