From: David PARIS <[email protected]>
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 <[email protected]>
---
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
On Wed, Jun 25, 2014 at 5:49 PM, Patrice CHOTARD <[email protected]> wrote:
> From: David PARIS <[email protected]>
>
> 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 <[email protected]>
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 <[email protected]> wrote:
>
>> From: David PARIS <[email protected]>
>>
>> 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 <[email protected]>
> 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