Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91329132 authored by Toby Smith's avatar Toby Smith Committed by Linus Walleij
Browse files

gpio: pca953x: request a shared interrupt



Request a shared interrupt when requesting a pca953x GPIO interrupt

Signed-off-by: default avatarToby Smith <toby@tismith.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3275d072
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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",