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:
67016f6
)
gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
author
Axel Lin
<axel.lin@ingics.com>
Mon, 13 Jun 2016 05:48:53 +0000
(13:48 +0800)
committer
Richard Weinberger
<richard@nod.at>
Wed, 22 Jun 2016 22:29:29 +0000
(
00:29
+0200)
Fixes: 9ae482104cb9 ("gpio: 104-idi-48: Clear pending interrupt once in IRQ handler")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-104-idi-48.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-104-idi-48.c
b/drivers/gpio/gpio-104-idi-48.c
index 6c75c83baf5a82a3eb1da0c7a5d5949bcf31e43b..2d2763ea1a68277eedf82f6e9c132be6f8706923 100644
(file)
--- a/
drivers/gpio/gpio-104-idi-48.c
+++ b/
drivers/gpio/gpio-104-idi-48.c
@@
-247,6
+247,7
@@
static int idi_48_probe(struct device *dev, unsigned int id)
idi48gpio->irq = irq[id];
spin_lock_init(&idi48gpio->lock);
+ spin_lock_init(&idi48gpio->ack_lock);
dev_set_drvdata(dev, idi48gpio);