summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sof')
-rw-r--r--sound/soc/sof/pm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/sof/pm.c b/sound/soc/sof/pm.c
index 022b19669735..197a88695fef 100644
--- a/sound/soc/sof/pm.c
+++ b/sound/soc/sof/pm.c
@@ -315,10 +315,11 @@ int snd_sof_prepare(struct device *dev)
sdev->system_suspend_target = SOF_SUSPEND_S3;
/*
- * if the firmware is crashed then we try to aim for S3 to reboot the
- * firmware
+ * if the firmware is crashed or boot failed then we try to aim for S3
+ * to reboot the firmware
*/
- if (sdev->fw_state == SOF_FW_CRASHED)
+ if (sdev->fw_state == SOF_FW_CRASHED ||
+ sdev->fw_state == SOF_FW_BOOT_FAILED)
return 0;
if (!desc->use_acpi_target_states)