mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
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 <vilhelm.gray@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
92e963f50f
commit
4332e0144f
@ -267,7 +267,8 @@ static int __init idi_48_probe(struct platform_device *pdev)
|
||||
goto err_gpiochip_irqchip_add;
|
||||
}
|
||||
|
||||
err = request_irq(irq, idi_48_irq_handler, 0, name, idi48gpio);
|
||||
err = request_irq(irq, idi_48_irq_handler, IRQF_SHARED, name,
|
||||
idi48gpio);
|
||||
if (err) {
|
||||
dev_err(dev, "IRQ handler registering failed (%d)\n", err);
|
||||
goto err_request_irq;
|
||||
|
Loading…
Reference in New Issue
Block a user