Skip to content

Commit

Permalink
Revert "module_adapter: avoid module init crash in case of ipc data i…
Browse files Browse the repository at this point in the history
…nvalid"

This reverts 'commit e847c8b ("module_adapter: avoid module
init crash in case of ipc data invalid")'.

No data is not an invalid case for mixer, for example.

Fixes: thesofproject#8265
Signed-off-by: Iuliana Prodan <[email protected]>
  • Loading branch information
iuliana-prodan authored and dbaluta committed Oct 13, 2023
1 parent 7a11e27 commit bb8d6ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/audio/module_adapter/module_adapter_ipc3.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ int module_adapter_init_data(struct comp_dev *dev,
return ret;
}
dst->init_data = dst->data;
} else {
return -EINVAL;
}

return 0;
Expand Down

0 comments on commit bb8d6ba

Please sign in to comment.