Commit e2b5ccd
committed
ASoC: SOF: ipc4-pcm: Workaround for firmware crash on stream stop
On stream stop there is one place where a firmware crash can break the
state cleanup which will result broken runtime state and prevents further
audio activities and the drivers must be removed and reloaded.
We must not ignore errors from the DSP but if the DSP is in SOF_FW_CRASHED
and the cmd is stop with reset state we should continue the execution on
the kernel side.
All subsequent IPCs will fail (not sent to DSP) but the kernel state will
be torn down to a correct, expected state.
Link: thesofproject/sof#8721
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent f39a3c2 commit e2b5ccd
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
417 | 429 | | |
418 | 430 | | |
419 | 431 | | |
| |||
0 commit comments