mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
Fixes: 9ae482104c
("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>
This commit is contained in:
parent
5edb56491d
commit
053ae6499a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user