Skip to content

Fix IPC timeout issue on APL&CNL#13

Closed
RanderWang wants to merge 0 commit into
thesofproject:topic/sof-devfrom
RanderWang:sof-dev
Closed

Fix IPC timeout issue on APL&CNL#13
RanderWang wants to merge 0 commit into
thesofproject:topic/sof-devfrom
RanderWang:sof-dev

Conversation

@RanderWang

Copy link
Copy Markdown

DSP only processes one IPC msg at one time, so driver should do as it required. If two IPC msgs are sent to DSP at the same time, IPC timeout. Now check is_dsp_ready at the IPC sent time to comply with the rule.

Also Refine the is_dsp_ready function, check both BUSY bit and DONE bit. To make sure the last IPC msg is not overwriten, DONE bit is set in reply_done function which is called at the end of msg processing function.

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.

2 participants