diff mbox

pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag

Message ID 1403711344-17335-1-git-send-email-patrice.chotard@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Patrice CHOTARD June 25, 2014, 3:49 p.m. UTC
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(+)

Comments

Linus Walleij July 7, 2014, 3:32 p.m. UTC | #1
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
Patrice CHOTARD July 8, 2014, 7:27 a.m. UTC | #2
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 mbox

Patch

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,