Message ID | 20210318043918.9900-3-hui.wang@canonical.com |
---|---|
State | New |
Headers | show |
Series | power off stress test will hang on the TGL machines | expand |
diff --git a/sound/soc/sof/core.c b/sound/soc/sof/core.c index adc7c37145d6..8532742b0519 100644 --- a/sound/soc/sof/core.c +++ b/sound/soc/sof/core.c @@ -384,6 +384,14 @@ int snd_sof_device_remove(struct device *dev) } EXPORT_SYMBOL(snd_sof_device_remove); +int snd_sof_device_shutdown(struct device *dev) +{ + struct snd_sof_dev *sdev = dev_get_drvdata(dev); + + return snd_sof_shutdown(sdev); +} +EXPORT_SYMBOL(snd_sof_device_shutdown); + MODULE_AUTHOR("Liam Girdwood"); MODULE_DESCRIPTION("Sound Open Firmware (SOF) Core"); MODULE_LICENSE("Dual BSD/GPL");