mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
gpio: pca953x: request a shared interrupt
Request a shared interrupt when requesting a pca953x GPIO interrupt Signed-off-by: Toby Smith <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
3275d0723a
commit
91329132c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue