Re: I2C OF IRQ parsing issue due to probe ordering

Laurent Pinchart
2014-10-30T13:22:42Z

Hi Wolfram,

On Thursday 30 October 2014 14:21:36 Wolfram Sang wrote:
> > > See:
> > > 9ec36cafe43b of/irq: do irq resolution in platform_get_irq
> > >
> > > I suspect a similar thing could be done for I2C.
> >
> > That could work. We would need to introduce a new i2c_get_irq() function
> > though. Wolfram, would you be fine with that ?
>
> I'd think it will look pretty similar to platform_get_irq, no? That is
> fine with me.

It would, but as Thierry pointed out it should be possible to hide the details
in the I2C core. I'll submit a patch shortly.