From 16c93fc57eb0288ab64d17faaae4193e6740c4e7 Mon Sep 17 00:00:00 2001 From: Iuliana Prodan Date: Fri, 13 Oct 2023 11:50:49 +0300 Subject: [PATCH] Revert "module_adapter: avoid module init crash in case of ipc data invalid" This reverts commit e847c8b270150353551d4720e382502c9a916496. Signed-off-by: Iuliana Prodan --- src/audio/module_adapter/module_adapter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/audio/module_adapter/module_adapter.c b/src/audio/module_adapter/module_adapter.c index e28541560403..4e7147b2c7db 100644 --- a/src/audio/module_adapter/module_adapter.c +++ b/src/audio/module_adapter/module_adapter.c @@ -130,8 +130,6 @@ struct comp_dev *module_adapter_new(const struct comp_driver *drv, goto err; } dst->init_data = dst->data; - } else { - goto err; } #else if (drv->type == SOF_COMP_MODULE_ADAPTER) {