diff options
author | Toby Smith <toby@tismith.id.au> | 2014-04-30 08:01:41 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 10:58:12 (GMT) |
commit | 91329132c909bbeb27699556b98b7f745ddb2ed9 (patch) | |
tree | 3570fe3619bf07d014b3f4002e29142517614509 | |
parent | 3275d0723a4cfad2199905623202edaa1ecba8c2 (diff) | |
download | linux-91329132c909bbeb27699556b98b7f745ddb2ed9.tar.xz |
gpio: pca953x: request a shared interrupt
Request a shared interrupt when requesting a pca953x GPIO interrupt
Signed-off-by: Toby Smith <toby@tismith.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 83cc2c8..6398f8a 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -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", |