All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: gateworks-gsc: fix interrupt type
@ 2020-12-28 21:10 Tim Harvey
  2021-01-14  9:52 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Harvey @ 2020-12-28 21:10 UTC (permalink / raw)
  To: Lee Jones, linux-kernel; +Cc: Tim Harvey, stable

The Gateworks System Controller has an active-low interrupt.
Fix the interrupt request type.

Fixes: d85234994b2f ("mfd: Add Gateworks System Controller core driver")

Cc: <stable@vger.kernel.org>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 drivers/mfd/gateworks-gsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index 576da62..d878767 100644
--- a/drivers/mfd/gateworks-gsc.c
+++ b/drivers/mfd/gateworks-gsc.c
@@ -234,7 +234,7 @@ static int gsc_probe(struct i2c_client *client)
 
 	ret = devm_regmap_add_irq_chip(dev, gsc->regmap, client->irq,
 				       IRQF_ONESHOT | IRQF_SHARED |
-				       IRQF_TRIGGER_FALLING, 0,
+				       IRQF_TRIGGER_LOW, 0,
 				       &gsc_irq_chip, &irq_data);
 	if (ret)
 		return ret;
-- 
2.7.4


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

* Re: [PATCH] mfd: gateworks-gsc: fix interrupt type
  2020-12-28 21:10 [PATCH] mfd: gateworks-gsc: fix interrupt type Tim Harvey
@ 2021-01-14  9:52 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2021-01-14  9:52 UTC (permalink / raw)
  To: Tim Harvey; +Cc: linux-kernel, stable

On Mon, 28 Dec 2020, Tim Harvey wrote:

> The Gateworks System Controller has an active-low interrupt.
> Fix the interrupt request type.
> 
> Fixes: d85234994b2f ("mfd: Add Gateworks System Controller core driver")
> 
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
>  drivers/mfd/gateworks-gsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2021-01-14  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28 21:10 [PATCH] mfd: gateworks-gsc: fix interrupt type Tim Harvey
2021-01-14  9:52 ` Lee Jones

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.