Skip to contentSkip to conversation

mfd: gateworks-gsc: fix interrupt type

PATCH Applied Tim Harvey 2 participants 2 messages Dec 28, 2020 – Jan 14, 2021

Subsystems (3)
lore
Share & tools
lore

Tim Harvey

author maintainer
#0 lore raw

PATCH 1/1 mfd: gateworks-gsc: fix interrupt type

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

Fixes d85234994b2f ("mfd: Add Gateworks System Controller core driver")
---
 drivers/mfd/gateworks-gsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/gateworks-gsc.c +1 -1
index 576da62..d878767 100644
@@ -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;
Signature · 1 line
2.7.4
Applied
#1 lore raw
Quoted 10 lines · Tim Harvey

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

Fixes d85234994b2f ("mfd: Add Gateworks System Controller core driver")
---
 drivers/mfd/gateworks-gsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

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