Uh oh!
There was an error while loading. Please reload this page.
ASoC: SOF: ipc4-pcm: reset skip_during_fe_trigger pipelines before DE… - #5876
Closed
naveen-manohar wants to merge 10000 commits into
Closed
ASoC: SOF: ipc4-pcm: reset skip_during_fe_trigger pipelines before DE…#5876naveen-manohar wants to merge 10000 commits into
naveen-manohar wants to merge 10000 commits into
Conversation
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug: SOF IPC4 compressed audio fails on second playback (WCL/PTL/SoundWire)
Component: Sound / SOF IPC4 driver
Platform: Intel WCL/PTL with RT721-SDW codec
Symptom: First AAC compressed playback succeeds; every subsequent attempt fails immediately with ERR: cannot set device: Invalid argument.
Root cause:
Shared output pipelines marked skip_during_fe_trigger=1 bypass started_count/paused_count updates during the STOP trigger. At teardown, SET_PIPELINE_STATE(RESET) is never issued for these pipelines because the condition !started_count && !paused_count evaluates to false. When DELETE_PIPELINE is sent while the pipeline is still in RUNNING state the firmware rejects it with error 12 ("Required resource is in invalid state"). The pipeline remains stranded in firmware, so the next CREATE_PIPELINE for that pipeline instance fails with error 9, blocking all further compressed stream opens.
LOG:
IPC trace showing exact call sequence: -
aac_debug_trace_20260812_230146.log
[
Key: widget alh-copier: calling sof_widget_free → immediately ipc tx 0x12010000 (DELETE_PIPELINE pipeline.1) → FW error 12 — confirms pipeline.1 was never RESET before DELETE
Root cause trace (pipeline_list dump): -
aac_pipeline_trace_20260812_232524.log
Fix verified — 5 consecutive passes -
aac_5run_verify_20260812_233425.log