]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: pressure: abp2030pa: Remove IRQF_ONESHOT from devm_request_irq()
authorFelix Gu <ustc.gu@gmail.com>
Fri, 27 Feb 2026 13:54:29 +0000 (21:54 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Mar 2026 11:20:10 +0000 (11:20 +0000)
Since commit aef30c8d569c ("genirq: Warn about using IRQF_ONESHOT
without a threaded handler"), the IRQ core checks IRQF_ONESHOT flag
in IRQ request and gives a warning if there is no threaded handler.

Remove IRQF_ONESHOT from devm_request_irq().

Fixes: 47d323ce1e89 ("iio: pressure: add Honeywell ABP2 driver")
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Tested-by: Petre Rodan <petre.rodan@subdimension.ro>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/abp2030pa.c

index 4ca056a73cefcee429bcce032bd96d17f75521fc..b44f1bf4c633fe20364ec4adb7bce73311a851a0 100644 (file)
@@ -520,7 +520,7 @@ int abp2_common_probe(struct device *dev, const struct abp2_ops *ops, int irq)
        data->p_offset = div_s64(odelta * data->pmin, pdelta) - data->outmin;
 
        if (data->irq > 0) {
-               ret = devm_request_irq(dev, irq, abp2_eoc_handler, IRQF_ONESHOT,
+               ret = devm_request_irq(dev, irq, abp2_eoc_handler, 0,
                                       dev_name(dev), data);
                if (ret)
                        return ret;