aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-haswell-ipc.c
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-08-01 11:08:38 -0400
committerMark Brown <broonie@linaro.org>2014-08-01 14:11:28 -0400
commit97cfc751e1f2c300e093a9d2840aeee075db68d4 (patch)
tree22d7520f2784d94686246ddf5ac05c08749067f5 /sound/soc/intel/sst-haswell-ipc.c
parent4ebd599e3570f392987df62f361d1742cc62f774 (diff)
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: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Jie Yang <yang.jie@intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel/sst-haswell-ipc.c')
-rw-r--r--sound/soc/intel/sst-haswell-ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c
index 9825d195b8c9..1ca71a283761 100644
--- a/sound/soc/intel/sst-haswell-ipc.c
+++ b/sound/soc/intel/sst-haswell-ipc.c
@@ -502,6 +502,7 @@ static int tx_wait_done(struct sst_hsw *hsw, struct ipc_message *msg,
502 ipc_shim_dbg(hsw, "message timeout"); 502 ipc_shim_dbg(hsw, "message timeout");
503 503
504 trace_ipc_error("error message timeout for", msg->header); 504 trace_ipc_error("error message timeout for", msg->header);
505 list_del(&msg->list);
505 ret = -ETIMEDOUT; 506 ret = -ETIMEDOUT;
506 } else { 507 } else {
507 508