Skip to content

Commit

Permalink
Revert "ipc3: override type field once comp_driver found"
Browse files Browse the repository at this point in the history
This reverts commit b53573a. This
commit broke cmocka unit tests.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Sep 27, 2024
1 parent 64cb133 commit e5319f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc/ipc3/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e5319f3

Please sign in to comment.