Skip to content

Commit

Permalink
pinctrl: sunxi: Add IRQCHIP_SKIP_SET_WAKE flag for pinctrl irq chip
Browse files Browse the repository at this point in the history
The sunxi pinctrl irq chip driver does not support wakeup at the
moment. Adding IRQCHIP_SKIP_SET_WAKE lets the irqs work with drivers
using wakeup.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
wens authored and jwrdegoede committed Jun 13, 2014
1 parent 8809263 commit 7389dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/sunxi/pinctrl-sunxi.c
Expand Up @@ -630,6 +630,7 @@ static struct irq_chip sunxi_pinctrl_irq_chip = {
.irq_mask = sunxi_pinctrl_irq_mask,
.irq_unmask = sunxi_pinctrl_irq_unmask,
.irq_set_type = sunxi_pinctrl_irq_set_type,
.flags = IRQCHIP_SKIP_SET_WAKE,
};

static void sunxi_pinctrl_irq_handler(unsigned irq, struct irq_desc *desc)
Expand Down

0 comments on commit 7389dec

Please sign in to comment.