Skip to content

ASoC: SOF: pcm: harden PCM STOP sequence - #1169

Merged
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
xiulipan:pr/stopsequence
Sep 20, 2019
Merged

plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
xiulipan:pr/stopsequence

Conversation

@xiulipan

@xiulipan xiulipan commented Aug 28, 2019 •

Copy link
Copy Markdown

The old STOP sequence is: 1. stop DMA 2. send STOP ipc
If delay happen before the step 1 and 2, the DMA buffer will be empty in
short time and cause pipeline xrun then stop the pipeline.
Then the step 2 ipc stop will return error as pipeline is already stopped.

Harden the STOP sequence by send STOP IPC before stop DMA.

Signed-off-by: Pan Xiuli xiuli.pan@linux.intel.com

Loading
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.

6 participants