diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2021-12-23 13:36:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-23 13:38:19 +0000 |
commit | 9421ff7665f66452f61ee40566c6f562d3847873 (patch) | |
tree | 4810a6bec589c1eaf9a548fa4f50c429de94a7dc /sound/soc/sof/pm.c | |
parent | d41607d37c1385da799f9a2ddb10c460e573687e (diff) | |
download | linux-9421ff7665f66452f61ee40566c6f562d3847873.tar.bz2 |
ASoC: SOF: ipc: Only allow sending of an IPC in SOF_FW_BOOT_COMPLETE state
If the state of the firmware is not BOOT_COMPLETE, it means that the
firmware is not functioning, thus it is not capable of handling IPC
messages.
Do not try to send IPC if the state is not BOOT_COMPLETE
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20211223113628.18582-12-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/pm.c')
0 files changed, 0 insertions, 0 deletions