Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "ipc3: override type field once comp_driver found" #9518

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "ipc3: override type field once comp_driver found"
This reverts commit b53573a. This
commit broke cmocka unit tests.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed Sep 27, 2024
commit e5319f3c3499945928b5c95a04a8e9cb3850affc
2 changes: 1 addition & 1 deletion src/ipc/ipc3/helper.c
Original file line number Diff line number Diff line change
@@ -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;
}