[PATCH] pinctrl: bcm2835: Avoid warning from __irq_do_set_handler

Linus Walleij linus.walleij at linaro.org
Thu Jun 29 02:05:33 PDT 2017


On Wed, Jun 21, 2017 at 8:20 PM, Stefan Wahren <stefan.wahren at i2se.com> wrote:

> We get a warning during boot with enabled EARLY_PRINTK that
> we try to set a irq_chip without data. This is caused by ignoring
> the return value of irq_of_parse_and_map(). So avoid calling
> gpiochip_set_chained_irqchip() in error case.
>
> Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
> Fixes: 85ae9e512f43 ("pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP")

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list