Skip to content

Commit fe13264

Browse files
Laurent Pinchartlinusw
authored andcommitted
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 <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 9963b53 commit fe13264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/gpio-rcar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ static int gpio_rcar_irq_domain_map(struct irq_domain *h, unsigned int irq,
284284

285285
static struct irq_domain_ops gpio_rcar_irq_domain_ops = {
286286
.map = gpio_rcar_irq_domain_map,
287+
.xlate = irq_domain_xlate_twocell,
287288
};
288289

289290
struct gpio_rcar_info {

0 commit comments

Comments
 (0)