Skip to content

Commit

Permalink
ipc4: a failure to find a driver might not be fatal
Browse files Browse the repository at this point in the history
When ipc4_get_drv() fails to find a driver, it might mean, that the
driver needs to be linked dynamically. Printing an error in such a
case wrongly fails CI testing.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Jun 7, 2024
1 parent 660d60b commit fc40d8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ipc/ipc4/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,11 +910,11 @@ const struct comp_driver *ipc4_get_drv(const uint8_t *uuid)
}
}

tr_err(&comp_tr, "get_drv(): the provided UUID (%08x %08x %08x %08x) can't be found!",
*(uint32_t *)(&uuid[0]),
*(uint32_t *)(&uuid[4]),
*(uint32_t *)(&uuid[8]),
*(uint32_t *)(&uuid[12]));
tr_warn(&comp_tr, "get_drv(): the provided UUID (%08x %08x %08x %08x) can't be found!",
*(uint32_t *)(&uuid[0]),
*(uint32_t *)(&uuid[4]),
*(uint32_t *)(&uuid[8]),
*(uint32_t *)(&uuid[12]));

out:
irq_local_enable(flags);
Expand Down

0 comments on commit fc40d8e

Please sign in to comment.