summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2020-12-28 22:10:04 +0100
committerLee Jones <lee.jones@linaro.org>2021-02-08 14:54:14 +0100
commit8d9bf3c3e1451fc8de7b590040a868ade26d6b22 (patch)
treec21ddcaf3adc62636e2d27af14b65786caee26eb
parentmfd: Standardise MFD_CELL_* helper names (diff)
downloadlinux-8d9bf3c3e1451fc8de7b590040a868ade26d6b22.tar.xz
linux-8d9bf3c3e1451fc8de7b590040a868ade26d6b22.zip
mfd: gateworks-gsc: Fix interrupt type
The Gateworks System Controller has an active-low interrupt. Fix the interrupt request type. Cc: <stable@vger.kernel.org> Fixes: d85234994b2f ("mfd: Add Gateworks System Controller core driver") Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/gateworks-gsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index 576da62fbb0c..d87876747b91 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;