From: Libin Yang Date: Mon, 22 Mar 2021 16:37:26 +0000 (-0500) Subject: ASoC: SOF: Intel: CNL: set shutdown callback to hda_dsp_shutdown X-Git-Tag: v5.15~1421^2~1^2~9^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0503e8410e5ee43da116772576dbdeb2a414e0b;p=platform%2Fkernel%2Flinux-starfive.git ASoC: SOF: Intel: CNL: set shutdown callback to hda_dsp_shutdown According to hardware spec and PMC FW requirement, the DSP must be in D3 state before entering S5. Set shutdown call to hda_dsp_shutdown. Reviewed-by: Ranjani Sridharan Signed-off-by: Libin Yang Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210322163728.16616-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/intel/cnl.c b/sound/soc/sof/intel/cnl.c index e38db51..094cde1 100644 --- a/sound/soc/sof/intel/cnl.c +++ b/sound/soc/sof/intel/cnl.c @@ -232,9 +232,10 @@ void cnl_ipc_dump(struct snd_sof_dev *sdev) /* cannonlake ops */ const struct snd_sof_dsp_ops sof_cnl_ops = { - /* probe and remove */ + /* probe/remove/shutdown */ .probe = hda_dsp_probe, .remove = hda_dsp_remove, + .shutdown = hda_dsp_shutdown, /* Register IO */ .write = sof_io_write,