All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
@ 2014-06-25 15:49 ` Patrice CHOTARD
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

* [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
@ 2014-06-25 15:49 ` Patrice CHOTARD
  0 siblings, 0 replies; 6+ messages in thread
From: Patrice CHOTARD @ 2014-06-25 15:49 UTC (permalink / raw)
  To: linux-arm-kernel

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] 6+ messages in thread

* Re: [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
  2014-06-25 15:49 ` Patrice CHOTARD
@ 2014-07-07 15:32   ` Linus Walleij
  -1 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2014-07-07 15:32 UTC (permalink / raw)
  To: Patrice CHOTARD
  Cc: linux-kernel, Srinivas Kandagatla, linux-arm-kernel, kernel,
	Maxime Coquelin

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

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

* [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
@ 2014-07-07 15:32   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2014-07-07 15:32 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

* Re: [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
  2014-07-07 15:32   ` Linus Walleij
@ 2014-07-08  7:27     ` Patrice Chotard
  -1 siblings, 0 replies; 6+ messages in thread
From: Patrice Chotard @ 2014-07-08  7:27 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-kernel, Srinivas Kandagatla, linux-arm-kernel, kernel,
	Maxime Coquelin


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


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

* [PATCH] pinctrl: st: add IRQCHIP_SKIP_SET_WAKE flag
@ 2014-07-08  7:27     ` Patrice Chotard
  0 siblings, 0 replies; 6+ messages in thread
From: Patrice Chotard @ 2014-07-08  7:27 UTC (permalink / raw)
  To: linux-arm-kernel


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

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

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

Thread overview: 6+ 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-06-25 15:49 ` Patrice CHOTARD
2014-07-07 15:32 ` Linus Walleij
2014-07-07 15:32   ` Linus Walleij
2014-07-08  7:27   ` Patrice Chotard
2014-07-08  7:27     ` Patrice Chotard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.