Skip to content

ASoC: SOF: trace: Make sure we are not missing the first host_offset …#3523

Merged
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/dtrace_first_update_race_01
May 19, 2022
Merged

ASoC: SOF: trace: Make sure we are not missing the first host_offset …#3523
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/dtrace_first_update_race_01

Conversation

@ujfalusi

Copy link
Copy Markdown
Collaborator

…update

In case the dtrace is small, the DMA copy will be fast and depending on
the moonphase it might be done before we set the sdev->dtrace_state to
SOF_DTRACE_ENABLED.

The DMA will start the copy as soon as the host starts the DMA. Set the
dtrace to enabled before we let the DMA to run in order to avoid missing
the position update.

Signed-off-by: Peter Ujfalusi peter.ujfalusi@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.

7 participants