summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-02-25 11:32:50 +0300
committerMark Brown <broonie@linaro.org>2014-02-26 08:45:43 +0900
commitf9da9e434d9dad684aec159a74b9c8436d4faf5a (patch)
tree37d106316b31bb39dc7871888203a124a2c508d9 /sound/soc/intel
parent951e9bb1fa589177183af1696ecfd4e4d8d37cbf (diff)
downloadblackbird-op-linux-f9da9e434d9dad684aec159a74b9c8436d4faf5a.tar.gz
blackbird-op-linux-f9da9e434d9dad684aec159a74b9c8436d4faf5a.zip
ASoC: intel: restore IRQs on error
This should be spin_unlock_irqrestore() instead of spin_unlock() Fixes: 22981243589c ('ASoC: Intel: Add Haswell/Broadwell IPC') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/sst-haswell-ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c
index 668d486520ae..552aebf2c8f5 100644
--- a/sound/soc/intel/sst-haswell-ipc.c
+++ b/sound/soc/intel/sst-haswell-ipc.c
@@ -527,7 +527,7 @@ static int ipc_tx_message(struct sst_hsw *hsw, u32 header, void *tx_data,
msg = msg_get_empty(hsw);
if (msg == NULL) {
- spin_unlock(&hsw->dsp->spinlock);
+ spin_unlock_irqrestore(&hsw->dsp->spinlock, flags);
return -EBUSY;
}
OpenPOWER on IntegriCloud