diff options
author | George Cherian <george.cherian@ti.com> | 2014-05-23 11:27:27 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-28 09:21:04 +0200 |
commit | 5795cf35030bfa180a6f5c948681821f7019fc18 (patch) | |
tree | 35360951b630fed2d45b2d55808e5e93522e1e21 /drivers/gpio/gpio-pcf857x.c | |
parent | e6b698f69adce0119b5f5ed00789d1a0e0af975f (diff) | |
download | linux-stable-5795cf35030bfa180a6f5c948681821f7019fc18.tar.gz linux-stable-5795cf35030bfa180a6f5c948681821f7019fc18.tar.bz2 linux-stable-5795cf35030bfa180a6f5c948681821f7019fc18.zip |
gpio: pcf857x: Add IRQF_SHARED when request irq
It's quite possible that multiple pcf857x can be hooked up
to the same interrupt line with the processor. So add IRQF_SHARED
in request irq..
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pcf857x.c')
-rw-r--r-- | drivers/gpio/gpio-pcf857x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index 5acffed10e77..27b46751ea7e 100644 --- a/drivers/gpio/gpio-pcf857x.c +++ b/drivers/gpio/gpio-pcf857x.c @@ -262,7 +262,7 @@ static int pcf857x_irq_domain_init(struct pcf857x *gpio, /* enable real irq */ status = devm_request_threaded_irq(&client->dev, client->irq, NULL, pcf857x_irq, IRQF_ONESHOT | - IRQF_TRIGGER_FALLING, + IRQF_TRIGGER_FALLING | IRQF_SHARED, dev_name(&client->dev), gpio); if (status) |