projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3475b44
)
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
author
Keyon Jie
<yang.jie@linux.intel.com>
Wed, 13 Jan 2021 15:26:17 +0000
(17:26 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 13 Jan 2021 16:33:44 +0000
(16:33 +0000)
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
patch
|
blob
|
history
diff --git
a/sound/soc/sof/intel/tgl.c
b/sound/soc/sof/intel/tgl.c
index 2252ca38ff4bfc1d5fb1e5784fa2129284a4ecc8..419f05ba192086300f93eb710c795f589374fdbe 100644
(file)
--- a/
sound/soc/sof/intel/tgl.c
+++ b/
sound/soc/sof/intel/tgl.c
@@
-22,9
+22,10
@@
static const struct snd_sof_debugfs_map tgl_dsp_debugfs[] = {
/* Tigerlake ops */
const struct snd_sof_dsp_ops sof_tgl_ops = {
- /* probe
and remove
*/
+ /* probe
/remove/shutdown
*/
.probe = hda_dsp_probe,
.remove = hda_dsp_remove,
+ .shutdown = hda_dsp_remove,
/* Register IO */
.write = sof_io_write,