From a2cbd744db6d3f8c5619541dea80b19db1419004 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 27 Sep 2024 12:44:20 +0200 Subject: [PATCH] Revert "ipc3: override type field once comp_driver found" This reverts commit b53573a15ca56da680dd646d63f9c192bce314b5. This commit broke cmocka unit tests. Signed-off-by: Guennadi Liakhovetski --- src/ipc/ipc3/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/ipc3/helper.c b/src/ipc/ipc3/helper.c index 162e1e49ef91..678d3306e4b1 100644 --- a/src/ipc/ipc3/helper.c +++ b/src/ipc/ipc3/helper.c @@ -134,7 +134,7 @@ static const struct comp_driver *get_drv(struct sof_ipc_comp *comp) info = container_of(clist, struct comp_driver_info, list); if (!memcmp(info->drv->uid, comp_ext->uuid, - UUID_SIZE) && comp->type == info->drv->type) { + UUID_SIZE)) { drv = info->drv; break; }