mirror of https://github.com/thesofproject/sof.git
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:
parent
7cc9a80ab8
commit
981524d197
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue