mfd: gateworks-gsc: Fix interrupt type

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

Cc: <[email protected]>
Fixes: d85234994b ("mfd: Add Gateworks System Controller core driver")
Signed-off-by: Tim Harvey <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
Tim Harvey authored and Lee Jones committed 2021-02-08 13:54:14 +00:00
1 parent db783e769a
commit 8d9bf3c3e1
1 file changed
+1 -1
+1 -1
View File
@@ -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;