mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 01:21:28 +00:00
spi: fsl-espi: small fix to error path in fsl_espi_irq
spin_lock is used to obtain the spinlock, so spin_unlock has to be used here. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f05689a662
commit
66b8053e24
@ -473,7 +473,7 @@ static irqreturn_t fsl_espi_irq(s32 irq, void *context_data)
|
||||
/* Get interrupt events(tx/rx) */
|
||||
events = fsl_espi_read_reg(mspi, ESPI_SPIE);
|
||||
if (!events) {
|
||||
spin_unlock_irq(&mspi->lock);
|
||||
spin_unlock(&mspi->lock);
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user