projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05689a
)
spi: fsl-espi: small fix to error path in fsl_espi_irq
author
Heiner Kallweit
<hkallweit1@gmail.com>
Sat, 29 Oct 2016 08:53:19 +0000
(10:53 +0200)
committer
Mark Brown
<broonie@kernel.org>
Sat, 29 Oct 2016 17:58:51 +0000
(11:58 -0600)
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>
drivers/spi/spi-fsl-espi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-espi.c
b/drivers/spi/spi-fsl-espi.c
index 2f95b19e67f7aef424adee56438578d2f5cc2177..1d3c9023391d4e3799c09eaf48eb9ef99dcece53 100644
(file)
--- 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;
}