aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 668d486520a..552aebf2c8f 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;
}