diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-08-01 19:08:38 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-01 22:11:28 +0400 |
commit | 97cfc751e1f2c300e093a9d2840aeee075db68d4 (patch) | |
tree | 22d7520f2784d94686246ddf5ac05c08749067f5 /sound | |
parent | 4ebd599e3570f392987df62f361d1742cc62f774 (diff) | |
download | linux-97cfc751e1f2c300e093a9d2840aeee075db68d4.tar.xz |
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')
-rw-r--r-- | sound/soc/intel/sst-haswell-ipc.c | 1 |
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, ipc_shim_dbg(hsw, "message timeout"); trace_ipc_error("error message timeout for", msg->header); + list_del(&msg->list); ret = -ETIMEDOUT; } else { |