Skip to content
Open
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
6 changes: 6 additions & 0 deletions src/audio/base_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,12 @@ __cold static int basefw_kcps_allocation_request(struct ipc4_resource_kcps *requ
assert_can_be_cold();

#if CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL
if (request->core_id >= CONFIG_CORE_COUNT) {
tr_err(&ipc_tr, "invalid core_id %u",
request->core_id);
return IPC4_ERROR_INVALID_PARAM;
}
Comment thread
abonislawski marked this conversation as resolved.

if (core_kcps_adjust(request->core_id, request->kcps))
return IPC4_ERROR_INVALID_PARAM;
#endif
Expand Down
Loading