Messages in this thread | | | Date | Fri, 7 Nov 2014 19:05:12 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH 3/3] i2c: core: Map OF IRQ at probe time |
| |
On Thu, Oct 30, 2014 at 03:59:38PM +0200, Laurent Pinchart wrote: > I2C clients instantiated from OF get their IRQ mapped at device > registration time. This leads to the IRQ being silently ignored if the > related irqchip hasn't been proved yet. > > Fix this by moving IRQ mapping at probe time using of_get_irq(). The > function operates as irq_of_parse_and_map() but additionally returns > -EPROBE_DEFER if the irqchip isn't available, allowing us to defer I2C > client probing. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Applied to for-next, thanks!
[unhandled content-type:application/pgp-signature] | |