Message ID | 1403711344-17335-1-git-send-email-patrice.chotard@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Jun 25, 2014 at 5:49 PM, Patrice CHOTARD <patrice.chotard@st.com> wrote: > 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> Patch applied - had to rebase it, strangely the struct is different in my tree (check that you're in sync). Yours, Linus Walleij
On 07/07/2014 05:32 PM, Linus Walleij wrote: > On Wed, Jun 25, 2014 at 5:49 PM, Patrice CHOTARD <patrice.chotard@st.com> wrote: > >> 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> > Patch applied - had to rebase it, strangely the struct is different in > my tree (check that you're in sync). My bad, you are right, i haven't forgotten to rebase on top of your tree. Sorry Linus Patrice > > Yours, > Linus Walleij
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,