Commit 91329132 authored by Toby Smith's avatar Toby Smith Committed by Linus Walleij

gpio: pca953x: request a shared interrupt

Request a shared interrupt when requesting a pca953x GPIO interrupt
Signed-off-by: default avatarToby Smith <toby@tismith.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3275d072
......@@ -586,7 +586,8 @@ static int pca953x_irq_setup(struct pca953x_chip *chip,
client->irq,
NULL,
pca953x_irq_handler,
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
IRQF_TRIGGER_LOW | IRQF_ONESHOT |
IRQF_SHARED,
dev_name(&client->dev), chip);
if (ret) {
dev_err(&client->dev, "failed to request irq %d\n",
......
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