Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to contradict the comments line 599-602, and it's not clear why this causes a hard lockup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, something is not right for sure, but it prevents the lockup.
If we suspend with active audio we run through the pre_trigger/trigger/post_trigger sequence (and SUSPEND/STOP/PAUSE_PUSH is identical up to post_trigger) then we call hda_link_dma_cleanup().
With the suspend while paused we just have a longer delay between the triggers and the hda_link_dma_cleanup()
But, we have failing FE triggers, so we might fail to stop host side and this has some side effect on the link side if it is cleaned?
We cannot see this as the system is hard locked..