[PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag

Patrice CHOTARD patrice.chotard at st.com
Wed Jun 25 08:49:04 PDT 2014


From: David PARIS <david.paris at st.com>

no .irq_set_wake API is available for pinctrl-st driver.
Add the IRQCHIP_SKIP_SET_WAKE flag to inform irq handler
not to call this API.

Signed-off-by: David Paris <david.paris at st.com>
---
 drivers/pinctrl/pinctrl-st.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index fb601fe..d881406 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -1530,6 +1530,7 @@ static struct irq_chip st_gpio_irqchip = {
 	.irq_set_type	= st_gpio_irq_set_type,
 	.irq_startup	= st_gpio_irq_startup,
 	.irq_shutdown	= st_gpio_irq_shutdown,
+	.flags		= IRQCHIP_SKIP_SET_WAKE,
 };
 
 static int st_gpio_irq_domain_map(struct irq_domain *h,
-- 
1.9.1




More information about the linux-arm-kernel mailing list