Commit 053ae649 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock

Fixes: 9ae48210 ("gpio: 104-idi-48: Clear pending interrupt once in IRQ handler")
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5edb5649
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment