Re: [PATCH] i2c:imx: use IRQF_SHARED mode to request IRQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/  |



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux