[PATCH] pinctrl-st: fix of_irq_to_resource() result check

Linus Walleij linus.walleij at linaro.org
Mon Aug 7 02:05:56 PDT 2017


On Sat, Jul 29, 2017 at 8:07 PM, Sergei Shtylyov
<sergei.shtylyov at cogentembedded.com> wrote:

> of_irq_to_resource() has recently been fixed to return negative error #'s
> along with 0 in case of failure, however the ST driver still only regards
> 0 as failure indication -- fix it up.
>
> Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list