From: Heiner Kallweit Date: Sat, 29 Oct 2016 08:53:19 +0000 (+0200) Subject: spi: fsl-espi: small fix to error path in fsl_espi_irq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66b8053e249c76b0d800805dac7e7dc80c3d7764;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 2f95b19e67f7..1d3c9023391d 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c @@ -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; }