mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
e6b698f69a
commit
5795cf3503
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue