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)
commit8382f2949a0def8e9519603b77b3c26f81a66576
tree89e42ab1f8dd8fd9eec3dc135c9be50840e0d642
parentbe8499c48f115b912f5747c420f66a5e2c31defe
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