summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAsmaa Mnebhi <asmaa@nvidia.com>2022-09-08 19:35:37 +0200
committerWolfram Sang <wsa@kernel.org>2022-09-17 20:20:50 +0200
commit92be2c122e495f0249090c0048f4fd05fe1efa9e (patch)
tree46ef5eb68d6e0f1e55e49b9ca2aebb82d00f160f /drivers/i2c
parentdt-bindings: i2c: rockchip: add rockchip,rk3128-i2c (diff)
downloadlinux-92be2c122e495f0249090c0048f4fd05fe1efa9e.tar.xz
linux-92be2c122e495f0249090c0048f4fd05fe1efa9e.zip
i2c: mlxbf: remove IRQF_ONESHOT
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-mlxbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mlxbf.c b/drivers/i2c/busses/i2c-mlxbf.c
index 8716032f030a..c9ef0dc56678 100644
--- a/drivers/i2c/busses/i2c-mlxbf.c
+++ b/drivers/i2c/busses/i2c-mlxbf.c
@@ -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);