Skip to content

Commit

Permalink
gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
Browse files Browse the repository at this point in the history
Fixes: 9ae4821 ("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>
  • Loading branch information
Axel Lin authored and Linus Walleij committed Jun 13, 2016
1 parent 5edb564 commit 053ae64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/gpio-104-idi-48.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 053ae64

Please sign in to comment.