ASoC: SOF: ipc4: Wake up dsp core before sending ipc msg
authorRander Wang <rander.wang@intel.com>
Tue, 14 Feb 2023 10:33:43 +0000 (12:33 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 14 Feb 2023 13:25:13 +0000 (13:25 +0000)
commit1c91e927e55cef17bafd8903cb34a7d12968ae6d
treea8e3904994ff809f07f0218c6087b0b3cd965197
parent3c168838fb0d64dd64f7d65cdbd7d127ce6112ef
ASoC: SOF: ipc4: Wake up dsp core before sending ipc msg

The driver shall update the power state to D0i0 before sending
a generic IPC. Power-related IPCs are the exception to the rule,
they may be sent even when the power-state is D0i3

Signed-off-by: Rander Wang <rander.wang@intel.com>
Reviewed-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>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230214103345.30669-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4.c