diff options
author | YC Hung <yc.hung@mediatek.com> | 2022-04-06 14:40:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-07 18:29:44 +0100 |
commit | fe70300c70baa82fd3024af9a1d2838610a35005 (patch) | |
tree | c8dda1c0c1ade660220e8bf211a10a55ae8341d8 /sound/soc/sof/sof-of-dev.h | |
parent | 40658542d7713b6f1b51556ef91822f9ca8942d0 (diff) | |
download | linux-stable-fe70300c70baa82fd3024af9a1d2838610a35005.tar.gz linux-stable-fe70300c70baa82fd3024af9a1d2838610a35005.tar.bz2 linux-stable-fe70300c70baa82fd3024af9a1d2838610a35005.zip |
ASoC: SOF: OF: Add shutdown callback for SOF OF device
Add shutdown callback function for SOF OF device and call
snd_sof_device_shutdown in sof_of_shutdown callback for DSP
shutdown sequence.
Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220406194048.289787-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-of-dev.h')
-rw-r--r-- | sound/soc/sof/sof-of-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-of-dev.h b/sound/soc/sof/sof-of-dev.h index 4e0f6588dad9..fd950a222ba4 100644 --- a/sound/soc/sof/sof-of-dev.h +++ b/sound/soc/sof/sof-of-dev.h @@ -13,5 +13,6 @@ extern const struct dev_pm_ops sof_of_pm; int sof_of_probe(struct platform_device *pdev); int sof_of_remove(struct platform_device *pdev); +void sof_of_shutdown(struct platform_device *pdev); #endif |