i2c: mlxbf: remove IRQF_ONESHOT
authorAsmaa Mnebhi <asmaa@nvidia.com>
Thu, 8 Sep 2022 17:35:37 +0000 (13:35 -0400)
committerWolfram Sang <wsa@kernel.org>
Sat, 17 Sep 2022 18:20:50 +0000 (20:20 +0200)
IRQF_ONESHOT is not needed so remove it.

Reviewed-by: Khalil Blaiech <kblaiech@nvidia.com>
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mlxbf.c

index 8716032..c9ef0dc 100644 (file)
@@ -2373,7 +2373,7 @@ static int mlxbf_i2c_probe(struct platform_device *pdev)
        if (irq < 0)
                return irq;
        ret = devm_request_irq(dev, irq, mlxbf_smbus_irq,
-                              IRQF_ONESHOT | IRQF_SHARED | IRQF_PROBE_SHARED,
+                              IRQF_SHARED | IRQF_PROBE_SHARED,
                               dev_name(dev), priv);
        if (ret < 0) {
                dev_err(dev, "Cannot get irq %d\n", irq);