idc: print out the target_core when timed out

Print out the target_core value when timed out during
idc_wait_in_blocking_mode(), which is useful for debugging.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2021-06-24 18:15:40 +08:00
parent 7cc9a80ab8
commit 981524d197
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ int idc_wait_in_blocking_mode(uint32_t target_core, bool (*cond)(int))
if (cond(target_core))
return 0;
tr_err(&idc_tr, "idc_wait_in_blocking_mode() error: timeout");
tr_err(&idc_tr, "idc_wait_in_blocking_mode() error: timeout, target_core %u",
target_core);
return -ETIME;
}