mirror of https://github.com/thesofproject/sof.git
probe: Properly send response code for custom responses.
Status (error) code in custom Probe responses is now reported properly. Signed-off-by: Artur Kloniecki <arturx.kloniecki@linux.intel.com>
This commit is contained in:
parent
c33b7a58d7
commit
ae211e1f31
|
@ -918,6 +918,7 @@ static int ipc_probe_info(uint32_t header)
|
|||
/* write data to the outbox */
|
||||
if (params->rhdr.hdr.size <= MAILBOX_HOSTBOX_SIZE &&
|
||||
params->rhdr.hdr.size <= SOF_IPC_MSG_MAX_SIZE) {
|
||||
params->rhdr.error = ret;
|
||||
mailbox_hostbox_write(0, params, params->rhdr.hdr.size);
|
||||
ret = 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue