]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
authorKeyon Jie <yang.jie@linux.intel.com>
Wed, 13 Jan 2021 15:26:17 +0000 (17:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jan 2021 16:33:44 +0000 (16:33 +0000)
commited08949bb6efe205b9742e2b0e26139bd65f021b
treedfdf9e6b39f77763b79fd8e3140dcd73bba41834
parenta95d75fa827324ed8bc331fc715e2b2c4e13704e
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback

Invoke hda_dsp_remove() as the .shutdown() callback. This will help to
perform shutdown of the DSP safely on TGL platforms before shutting down
or rebooting the system.

BugLink: https://github.com/thesofproject/linux/issues/2571
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210113152617.4048541-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/tgl.c