fix(intel): update mailbox SDM printout message

The printout message is misleading.
Update the message content and mask out the return code.

Change-Id: I08acb73894f8504b2773a19dbb10b42a65fcda5d
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
This commit is contained in:
Jit Loon Lim 2024-05-07 16:46:12 +08:00 committed by jit.loon.lim
parent 5d38dc09eb
commit 569a03c711

View file

@ -168,7 +168,7 @@ int mailbox_read_response(unsigned int *job_id, uint32_t *response,
} }
if (MBOX_RESP_ERR(resp_data) > 0U) { if (MBOX_RESP_ERR(resp_data) > 0U) {
INFO("Error in response: %x\n", resp_data); INFO("SDM response: Return Code: 0x%x\n", MBOX_RESP_ERR(resp_data));
return -MBOX_RESP_ERR(resp_data); return -MBOX_RESP_ERR(resp_data);
} }
@ -337,7 +337,7 @@ int mailbox_poll_response(uint32_t job_id, uint32_t urgent, uint32_t *response,
} }
if (MBOX_RESP_ERR(resp_data) > 0U) { if (MBOX_RESP_ERR(resp_data) > 0U) {
INFO("Error in response: %x\n", resp_data); INFO("SDM response: Return Code: 0x%x\n", MBOX_RESP_ERR(resp_data));
return -MBOX_RESP_ERR(resp_data); return -MBOX_RESP_ERR(resp_data);
} }