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: #8265
Signed-off-by: Iuliana Prodan <[email protected]>
  • Loading branch information
iuliana-prodan committed Oct 12, 2023
1 parent fd497c9 commit 22d9e9c
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 22d9e9c

Please sign in to comment.