summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpio/gpio-sta2x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpio/gpio-sta2x11.c')
-rw-r--r--kernel/drivers/gpio/gpio-sta2x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/gpio/gpio-sta2x11.c b/kernel/drivers/gpio/gpio-sta2x11.c
index 18579ac65..55e47828d 100644
--- a/kernel/drivers/gpio/gpio-sta2x11.c
+++ b/kernel/drivers/gpio/gpio-sta2x11.c
@@ -346,7 +346,7 @@ static void gsta_alloc_irq_chip(struct gsta_gpio *chip)
i = chip->irq_base + j;
irq_set_chip_and_handler(i, &ct->chip, ct->handler);
irq_set_chip_data(i, gc);
- irq_modify_status(i, IRQ_NOREQUEST | IRQ_NOPROBE, 0);
+ irq_clear_status_flags(i, IRQ_NOREQUEST | IRQ_NOPROBE);
}
gc->irq_cnt = i - gc->irq_base;
}