public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
@ 2014-06-25 15:49 Patrice CHOTARD
  2014-07-07 15:32 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Patrice CHOTARD @ 2014-06-25 15:49 UTC (permalink / raw)
  To: linux-kernel, Linus Walleij, srinivas.kandagatla,
	linux-arm-kernel
  Cc: kernel, maxime.coquelin, patrice.chotard

From: David PARIS <david.paris@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@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


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

end of thread, other threads:[~2014-07-08  7:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 15:49 [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag Patrice CHOTARD
2014-07-07 15:32 ` Linus Walleij
2014-07-08  7:27   ` Patrice Chotard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox