linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] gpio: rcar: Add support for DT IRQ flags
@ 2014-07-08 10:46 Laurent Pinchart
  2014-07-09 10:34 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2014-07-08 10:46 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-sh, Magnus Damm, Linus Walleij

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>
---
 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.

diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index ca76ce7..c9edcc9 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -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 {
-- 
Regards,

Laurent Pinchart


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] gpio: rcar: Add support for DT IRQ flags
  2014-07-08 10:46 [PATCH RESEND] gpio: rcar: Add support for DT IRQ flags Laurent Pinchart
@ 2014-07-09 10:34 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-07-09 10:34 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: linux-gpio@vger.kernel.org, linux-sh@vger.kernel.org, Magnus Damm

On Tue, Jul 8, 2014 at 12:46 PM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:

> 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>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-09 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 10:46 [PATCH RESEND] gpio: rcar: Add support for DT IRQ flags Laurent Pinchart
2014-07-09 10:34 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).