X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fgpio%2Fgpio-sta2x11.c;h=55e47828ddfcb66f2a4ad00ae049c8576ed03698;hb=59a47fff0217592e248556a7ab436d5c17365962;hp=18579ac65b2b04fa09df3da436aff848e98e50e9;hpb=aa9291355e19f804570466756ed7d874cd2e99ff;p=mirror_ubuntu-artful-kernel.git diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c index 18579ac65b2b..55e47828ddfc 100644 --- a/drivers/gpio/gpio-sta2x11.c +++ b/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; }