diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2022-12-20 14:56:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-21 12:11:49 +0000 |
commit | 6f95eec6fb89e195dbdf30de65553c7fc57d9372 (patch) | |
tree | b84b723c32d6f37905f89fbc4b75784cdc945a9e /lib/raid6/algos.c | |
parent | a12a383e59ce486abd719b6bda33c353a3b385e7 (diff) |
ASoC: SOF: pm: Set target state earlier
If the DSP crashes before the system suspends, the setting of target state
will be skipped because the firmware state will no longer be
SOF_FW_BOOT_COMPLETE. This leads to the incorrect assumption that the
DSP should suspend to D0I3 instead of suspending to D3. To fix this,
set the target_state before we skip to DSP suspend even when the DSP has
crashed.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@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/20221220125629.8469-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions