Skip to content

Commit

Permalink
ASoC: intel: restore IRQs on error
Browse files Browse the repository at this point in the history
This should be spin_unlock_irqrestore() instead of spin_unlock()

Fixes: 2298124 ('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>
  • Loading branch information
Dan Carpenter authored and Mark Brown committed Feb 25, 2014
1 parent 951e9bb commit f9da9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/sst-haswell-ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f9da9e4

Please sign in to comment.