diff options
author | Toby Smith <toby@tismith.id.au> | 2014-04-30 18:01:41 +1000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 12:58:12 +0200 |
commit | 91329132c909bbeb27699556b98b7f745ddb2ed9 (patch) | |
tree | 3570fe3619bf07d014b3f4002e29142517614509 /drivers | |
parent | 3275d0723a4cfad2199905623202edaa1ecba8c2 (diff) | |
download | linux-91329132c909bbeb27699556b98b7f745ddb2ed9.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-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 83cc2c8f105f..6398f8a0f40c 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", |