From 22d9e9c586f60dfb89f07fc4d090924c62344b3a Mon Sep 17 00:00:00 2001 From: Iuliana Prodan Date: Wed, 11 Oct 2023 01:32:48 +0300 Subject: [PATCH] Revert "module_adapter: avoid module init crash in case of ipc data invalid" This reverts 'commit e847c8b27015 ("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 --- src/audio/module_adapter/module_adapter_ipc3.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/audio/module_adapter/module_adapter_ipc3.c b/src/audio/module_adapter/module_adapter_ipc3.c index cf11e5aeb7da..0f9a31be4139 100644 --- a/src/audio/module_adapter/module_adapter_ipc3.c +++ b/src/audio/module_adapter/module_adapter_ipc3.c @@ -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;