diff options
author | Zhang Ying-22455 <ying.zhang22455@nxp.com> | 2017-09-11 08:20:23 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:50 (GMT) |
commit | 769f07937eb045292116074861d747610b31bba9 (patch) | |
tree | 8e4ae6a10af516414dab82fc00accd8c7cf15233 /drivers/i2c | |
parent | 6e5f34a21046005b1c4a4fb4be95091643d61e1c (diff) | |
download | linux-769f07937eb045292116074861d747610b31bba9.tar.xz |
i2c: imx: allow i2c devices share an interrupt
Allow the I2C device on the same bus can’t claim irq.
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 6ac0a7c..a35c366 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c @@ -1108,7 +1108,7 @@ static int i2c_imx_probe(struct platform_device *pdev) } /* Request IRQ */ - ret = devm_request_irq(&pdev->dev, irq, i2c_imx_isr, 0, + ret = devm_request_irq(&pdev->dev, irq, i2c_imx_isr, IRQF_SHARED, pdev->name, i2c_imx); if (ret) { dev_err(&pdev->dev, "can't claim irq %d\n", irq); |