Skip to content

Commit 4332e01

Browse files
William Breathitt Graylinusw
authored andcommitted
gpio: 104-idi-48: Allow IRQ sharing
The ACCES 104-IDI-48 can differentiate between its own and other devices' interrupt requests. Therefore, IRQ sharing is possible and should be permitted. Signed-off-by: William Breathitt Gray <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 92e963f commit 4332e01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpio/gpio-104-idi-48.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ static int __init idi_48_probe(struct platform_device *pdev)
267267
goto err_gpiochip_irqchip_add;
268268
}
269269

270-
err = request_irq(irq, idi_48_irq_handler, 0, name, idi48gpio);
270+
err = request_irq(irq, idi_48_irq_handler, IRQF_SHARED, name,
271+
idi48gpio);
271272
if (err) {
272273
dev_err(dev, "IRQ handler registering failed (%d)\n", err);
273274
goto err_request_irq;

0 commit comments

Comments
 (0)