[PATCH] pinctrl-st: fix of_irq_to_resource() result check
From: Linus Walleij <hidden>
Date: 2017-08-07 09:05:58
Also in:
linux-gpio
From: Linus Walleij <hidden>
Date: 2017-08-07 09:05:58
Also in:
linux-gpio
On Sat, Jul 29, 2017 at 8:07 PM, Sergei Shtylyov [off-list ref] 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 <redacted>Patch applied. Yours, Linus Walleij