aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorKai Vehmanen <[email protected]>2019-06-12 11:57:04 -0500
committerMark Brown <[email protected]>2019-06-13 19:54:17 +0100
commite2eba551d2f4226400a6bb7871fef439ad1318dd (patch)
tree28fa2761953e94cea1b82cfbace6d92ce87c648a /include/uapi
parentf1fd9d0e6dbae9c7cdd7e82fe3055ec7b790abb6 (diff)
ASoC: SOF: ignore unrecoverable CTX_SAVE IPC errors at suspend
As part of the suspend flow, a context save IPC message is sent to the firmware before powering down the DSP. If errors are met, the suspend flow is aborted with current code. Change the behaviour such that if firmware returns -EBUSY or -EAGAIN, return the error codes to PM core as before. The device is left in active state in this case. If other errors are reported, print a warning but do not block the suspend flow. As per interface specification, no valid error can be returned in this scenario. If the hardware has hit a fatal error and is not able to respond successfully, best recovery method is to proceed with suspend and power off the DSP. Signed-off-by: Kai Vehmanen <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions