gpio: rcar: Add support for DT IRQ flags
Subsystems (3)
PATCH RESEND 1/1 gpio: rcar: Add support for DT IRQ flags
The gpio-rcar driver has no IRQ domain OF xlate function and thus ignores IRQ flags specified in DT. Fix this by using the two-cell xlate function.
Signed-off-by Laurent Pinchart <[email protected]>
--- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+)
The patch hasn't made it to Linus' inbox, I'm thus resending it.
drivers/gpio/gpio-rcar.c +1 -0
@@ -283,6 +283,7 @@ static int gpio_rcar_irq_domain_map(struct irq_domain *h, unsigned int irq,static struct irq_domain_ops gpio_rcar_irq_domain_ops = { .map = gpio_rcar_irq_domain_map, + .xlate = irq_domain_xlate_twocell, };struct gpio_rcar_info {
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 5 lines · Laurent Pinchart
The gpio-rcar driver has no IRQ domain OF xlate function and thus ignores IRQ flags specified in DT. Fix this by using the two-cell xlate function.
Signed-off-by Laurent Pinchart <[email protected]>
Patch applied.
Yours,
Linus Walleij