Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP: bugix - lists initialization was done too late #8508

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

marcinszkudlinski
Copy link
Contributor

in case module prepare fails, dp_queue lists were left uninitialized.
It may lead to crash if module reset was performed later

in case module prepare fails, dp_queue lists were left
uninitialized.
It may lead to crash if module reset was performed later

Signed-off-by: Marcin Szkudlinski <[email protected]>
@@ -168,6 +168,9 @@ static int module_adapter_dp_queue_prepare(struct comp_dev *dev)
* first, set all parameters by calling "module prepare" with pointers to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"bugix" ? Also "module_adapter: " would be a better prefix. But not showstoppers, change itself looks good and git commit is understandable.

@kv2019i kv2019i merged commit e1cd2d2 into thesofproject:main Nov 21, 2023
@marcinszkudlinski marcinszkudlinski deleted the dp-fix1 branch November 22, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected dp_scheduler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants