Skip to contentSkip to conversation

ASoC: Intel: Delete message when IPC timeout occurs

PATCH Applied Jie Yang 2 participants 2 messages Aug 1, 2014

Subsystems (3)
lore
Share & tools
lore

Jie Yang

author
#0 lore raw

PATCH 1/1 ASoC: Intel: Delete message when IPC timeout occurs

From: Liam Girdwood <[email protected]>

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

---
 sound/soc/intel/sst-haswell-ipc.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/intel/sst-haswell-ipc.c +1 -0
index 96373ab..5a607ab 100644
@@ -502,6 +502,7 @@ static int tx_wait_done(struct sst_hsw *hsw, struct ipc_message *msg,
 		ipc_shim_dbg(hsw, "message timeout");
 
 		trace_ipc_error("error message timeout for", msg->header);
+		list_del(&msg->list);
 		ret = -ETIMEDOUT;
 	} else {
 
Signature · 1 line
1.8.3.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Jie Yang

From: Liam Girdwood <[email protected]>

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

Applied, thanks.