Commit f27d605
lib: cpu: Check return value from platform_boot_complete
Add error handling for platform_boot_complete() during D3 exit to
improve debugging capabilities.
Previously, platform_boot_complete() could fail silently if the DSP
entered D3 state with an invalid IPC driver state, making it difficult
to identify the root cause of issues. This change captures the return
value and triggers a panic with a clear error message when the function
fails.
This improvement makes debugging easier by explicitly indicating when
the boot completion fails after resuming from D3, rather than allowing
execution to continue with potential undefined behavior.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent 9ed5472 commit f27d605
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
215 | 220 | | |
216 | 221 | | |
217 | 222 | | |
| |||
0 commit comments