kernel: remove unused versions
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.14 / 137-2-pinctrl-add-IRQCHIP_SKIP_SET_WAKE.patch
1 From 77f1265dd02dfd5dcaa0ebd6d3ea1d131bc095e2 Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Tue, 7 Jan 2014 19:01:29 +0800
4 Subject: [PATCH] pinctrl: sunxi: add IRQCHIP_SKIP_SET_WAKE flag for pinctrl
5 irq chip
6
7 The sunxi pinctrl irq chip driver does not support wakeup at the
8 moment. Adding IRQCHIP_SKIP_SET_WAKE lets the irqs work with drivers
9 using wakeup.
10
11 Also add a name to the irq chip.
12 ---
13 drivers/pinctrl/pinctrl-sunxi.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/drivers/pinctrl/pinctrl-sunxi.c b/drivers/pinctrl/pinctrl-sunxi.c
17 index 067e7e10..d7a41a8 100644
18 --- a/drivers/pinctrl/pinctrl-sunxi.c
19 +++ b/drivers/pinctrl/pinctrl-sunxi.c
20 @@ -661,6 +661,8 @@ static struct irq_chip sunxi_pinctrl_irq_chip = {
21 .irq_mask_ack = sunxi_pinctrl_irq_mask_ack,
22 .irq_unmask = sunxi_pinctrl_irq_unmask,
23 .irq_set_type = sunxi_pinctrl_irq_set_type,
24 + .name = "sunxi-pio",
25 + .flags = IRQCHIP_SKIP_SET_WAKE,
26 };
27
28 static void sunxi_pinctrl_irq_handler(unsigned irq, struct irq_desc *desc)
29 --
30 2.0.3
31