Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented May 12, 2023

Backport of #7577

Fixes: #7548

kv2019i added 2 commits May 12, 2023 14:00
If DMA is active, do not read data directly from the SSP
RX fifo.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
(cherry picked from commit e94071f)
If DMA transaction is ongoing when RX is enabled, this can lead
to stuck communication between DMA and SSP (DMA service request
not seen by the DMA).

To avoid this, flush the RX fifo before enabling SSP RX.

Link: thesofproject#7548
Suggested-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
(cherry picked from commit 4a4d8d2)
@kv2019i kv2019i requested a review from jairaj-arava May 12, 2023 11:05
@kv2019i kv2019i changed the title intel: ssp: drain RX fifo when starting [stable-v2.2] intel: ssp: drain RX fifo when starting May 12, 2023
@marc-hb
Copy link
Collaborator

marc-hb commented May 12, 2023

Unrelated stable-2.2 failures fixed by #7551, which is blocked by #7552

These affect ALL stable-2.2 PRs, please help review.

@kv2019i kv2019i mentioned this pull request May 15, 2023
@kv2019i kv2019i merged commit c5a8b6a into thesofproject:stable-v2.2 May 15, 2023
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.

3 participants