diff options
author | Toby Smith <toby@tismith.id.au> | 2014-04-30 04:01:41 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 06:58:12 -0400 |
commit | 91329132c909bbeb27699556b98b7f745ddb2ed9 (patch) | |
tree | 3570fe3619bf07d014b3f4002e29142517614509 /drivers/gpio | |
parent | 3275d0723a4cfad2199905623202edaa1ecba8c2 (diff) |
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/gpio')
-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, | |||
586 | client->irq, | 586 | client->irq, |
587 | NULL, | 587 | NULL, |
588 | pca953x_irq_handler, | 588 | pca953x_irq_handler, |
589 | IRQF_TRIGGER_LOW | IRQF_ONESHOT, | 589 | IRQF_TRIGGER_LOW | IRQF_ONESHOT | |
590 | IRQF_SHARED, | ||
590 | dev_name(&client->dev), chip); | 591 | dev_name(&client->dev), chip); |
591 | if (ret) { | 592 | if (ret) { |
592 | dev_err(&client->dev, "failed to request irq %d\n", | 593 | dev_err(&client->dev, "failed to request irq %d\n", |