On Wed, Oct 11, 2017 at 03:57:20PM +0800, Wei Jinhua wrote: > 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@xxxxxxxxxx> > Reviewed-by: Jiang Biao <jiang.biao2@xxxxxxxxxx> The irq handler seems to be prepared for this, too (i.e. it returns IRQ_NONE if no irq is pending), so: Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |