Skip to content

ASoC: SOF: Intel: hda-stream: clear hstream->running flag in hw_params#5681

Open
ujfalusi wants to merge 1 commit intothesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/clear_hstream_running_2
Open

ASoC: SOF: Intel: hda-stream: clear hstream->running flag in hw_params#5681
ujfalusi wants to merge 1 commit intothesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/clear_hstream_running_2

Conversation

@ujfalusi
Copy link
Collaborator

@ujfalusi ujfalusi commented Mar 5, 2026

During hw_params call we make sure that the host DMA is stopped but the hstream->running flag is not explicitly cleared at the same time.

If the host DMA fails to stop during previous use then the flag is left set and on next start the host DMA will be left disabled since the trigger:STOP will skip the DMA enable.

During hw_params call we make sure that the host DMA is stopped but the
hstream->running flag is not explicitly cleared at the same time.

If the host DMA fails to stop during previous use then the flag is left
set and on next start the host DMA will be left disabled since the
trigger:STOP will skip the DMA enable.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
@kv2019i
Copy link
Collaborator

kv2019i commented Mar 5, 2026

@ujfalusi I did a quick test and this didn't solve the SRC 11.025fail->48fail->48success case. I still need two attempts to get 48k working even with this PR included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants