projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ebd599
)
ASoC: Intel: Delete message when IPC timeout occurs
author
Liam Girdwood
<liam.r.girdwood@linux.intel.com>
Fri, 1 Aug 2014 15:08:38 +0000
(23:08 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 1 Aug 2014 18:11:28 +0000
(19:11 +0100)
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>
sound/soc/intel/sst-haswell-ipc.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/sst-haswell-ipc.c
b/sound/soc/intel/sst-haswell-ipc.c
index
9825d19
..
1ca71a2
100644
(file)
--- 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,
ipc_shim_dbg(hsw, "message timeout");
trace_ipc_error("error message timeout for", msg->header);
+ list_del(&msg->list);
ret = -ETIMEDOUT;
} else {