From 91329132c909bbeb27699556b98b7f745ddb2ed9 Mon Sep 17 00:00:00 2001 From: Toby Smith <toby@tismith.id.au> Date: Wed, 30 Apr 2014 18:01:41 +1000 Subject: 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> --- drivers/gpio/gpio-pca953x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpio') 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", -- cgit v1.2.3