]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: imx: use IRQF_SHARED mode to request IRQ
authorWei Jinhua <wei.jinhua1@zte.com.cn>
Wed, 11 Oct 2017 07:57:20 +0000 (15:57 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 13 Oct 2017 19:05:51 +0000 (21:05 +0200)
commit9bbe57d0e82cae7b885ab9651b6a2d1d75bf3728
tree5a68efd5dc65fd2f236467b639ab60e20cb74169
parent1d8be8c8c0a6306e2940cad83dd38b2881d7b27a
i2c: imx: use IRQF_SHARED mode to request IRQ

Some SoC share one irq number between I2C controllers.
For example, on the LS2088 board, I2C 1 and I2C 2 share
one irq number. In this case, only one I2C controller
can register successfully, and others will fail.

Signed-off-by: Wei Jinhua <wei.jinhua1@zte.com.cn>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c