Commit 8d9bf3c3 authored by Tim Harvey's avatar Tim Harvey Committed by Lee Jones

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: d8523499 ("mfd: Add Gateworks System Controller core driver")
Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent db783e76
...@@ -234,7 +234,7 @@ static int gsc_probe(struct i2c_client *client) ...@@ -234,7 +234,7 @@ static int gsc_probe(struct i2c_client *client)
ret = devm_regmap_add_irq_chip(dev, gsc->regmap, client->irq, ret = devm_regmap_add_irq_chip(dev, gsc->regmap, client->irq,
IRQF_ONESHOT | IRQF_SHARED | IRQF_ONESHOT | IRQF_SHARED |
IRQF_TRIGGER_FALLING, 0, IRQF_TRIGGER_LOW, 0,
&gsc_irq_chip, &irq_data); &gsc_irq_chip, &irq_data);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment