diff options
author | George Cherian <george.cherian@ti.com> | 2014-05-23 01:57:27 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-28 03:21:04 -0400 |
commit | 5795cf35030bfa180a6f5c948681821f7019fc18 (patch) | |
tree | 35360951b630fed2d45b2d55808e5e93522e1e21 /drivers/gpio | |
parent | e6b698f69adce0119b5f5ed00789d1a0e0af975f (diff) |
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')
-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, | |||
262 | /* enable real irq */ | 262 | /* enable real irq */ |
263 | status = devm_request_threaded_irq(&client->dev, client->irq, | 263 | status = devm_request_threaded_irq(&client->dev, client->irq, |
264 | NULL, pcf857x_irq, IRQF_ONESHOT | | 264 | NULL, pcf857x_irq, IRQF_ONESHOT | |
265 | IRQF_TRIGGER_FALLING, | 265 | IRQF_TRIGGER_FALLING | IRQF_SHARED, |
266 | dev_name(&client->dev), gpio); | 266 | dev_name(&client->dev), gpio); |
267 | 267 | ||
268 | if (status) | 268 | if (status) |