11 Dec
2017
11 Dec
'17
2:31 p.m.
The msg pool will be used up as it was not added back to empty_list, here correct it.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/ipc/byt-ipc.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/ipc/byt-ipc.c b/src/ipc/byt-ipc.c index 8897bb9..6716cce 100644 --- a/src/ipc/byt-ipc.c +++ b/src/ipc/byt-ipc.c @@ -194,6 +194,9 @@ void ipc_platform_send_msg(struct ipc *ipc) shim_write(SHIM_IPCDL, msg->header); shim_write(SHIM_IPCDH, SHIM_IPCDH_BUSY);
+ /* add msg back to empty_list for next use */ + list_item_append(&msg->list, &ipc->empty_list); + out: spin_unlock_irq(&ipc->lock, flags); }
--
2.11.0