Skip to contentSkip to conversation

gpio: rcar: Add support for DT IRQ flags

PATCH RESEND In review Laurent Pinchart 2 participants 2 messages Jul 8, 2014 – Jul 9, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index ca76ce7..c9edcc9 100644
@@ -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
#1 lore raw
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.

Patch applied.

Yours,
Linus Walleij