Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97cfc751 authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown
Browse files

ASoC: Intel: Delete message when IPC timeout occurs



This fixes a bug where we dont delete the current message when an
IPC message timeout occurs.

Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarJie Yang <yang.jie@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 4ebd599e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -502,6 +502,7 @@ static int tx_wait_done(struct sst_hsw *hsw, struct ipc_message *msg,
		ipc_shim_dbg(hsw, "message timeout");
		ipc_shim_dbg(hsw, "message timeout");


		trace_ipc_error("error message timeout for", msg->header);
		trace_ipc_error("error message timeout for", msg->header);
		list_del(&msg->list);
		ret = -ETIMEDOUT;
		ret = -ETIMEDOUT;
	} else {
	} else {