[PATCH 02/03] gpio: rcar: Use IRQCHIP_SET_TYPE_MASKED

From: Magnus Damm
Date: Wed Mar 13 2013 - 07:26:39 EST


From: Magnus Damm <damm@xxxxxxxxxxxxx>

Set the flag IRQCHIP_SET_TYPE_MASKED in gpio-rcar.c to
force mask of the interrupt while configuring trigger
settings.

Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
---

drivers/gpio/gpio-rcar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 0004/drivers/gpio/gpio-rcar.c
+++ work/drivers/gpio/gpio-rcar.c 2013-03-13 19:42:56.000000000 +0900
@@ -301,7 +301,7 @@ static int gpio_rcar_probe(struct platfo
irq_chip->irq_enable = gpio_rcar_irq_enable;
irq_chip->irq_disable = gpio_rcar_irq_disable;
irq_chip->irq_set_type = gpio_rcar_irq_set_type;
- irq_chip->flags = IRQCHIP_SKIP_SET_WAKE;
+ irq_chip->flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_SET_TYPE_MASKED;

p->irq_domain = irq_domain_add_simple(pdev->dev.of_node,
p->config.number_of_pins,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/