All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
@ 2016-06-13  5:48 Axel Lin
  2016-06-13 12:22 ` William Breathitt Gray
  2016-06-13 12:48 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-06-13  5:48 UTC (permalink / raw)
  To: Linus Walleij; +Cc: William Breathitt Gray, Alexandre Courbot, linux-gpio

Fixes: 9ae482104cb9 ("gpio: 104-idi-48: Clear pending interrupt once in IRQ handler")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/gpio/gpio-104-idi-48.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-104-idi-48.c b/drivers/gpio/gpio-104-idi-48.c
index 6c75c83..2d2763e 100644
--- 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);
 
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-13 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13  5:48 [PATCH] gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock Axel Lin
2016-06-13 12:22 ` William Breathitt Gray
2016-06-13 12:48 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.