aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-tipwmss.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-10-30 09:59:38 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-11-10 03:34:58 -0500
commit2fd36c55264926e268deb50f6de5f43fa5e490f7 (patch)
treec168e12f6e984893a1ed9b9d1ac0e0028a64d309 /drivers/pwm/pwm-tipwmss.h
parent9eb08fb3d15896bfff57fcd4c87e3fd5b19d8581 (diff)
i2c: core: Map OF IRQ at probe time
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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/pwm/pwm-tipwmss.h')
0 files changed, 0 insertions, 0 deletions