commit | 98c01b19b85d8d87927e8cfa09c4a2a14add9ba2 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sat Jul 29 21:07:07 2017 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Aug 14 15:01:02 2017 +0200 |
tree | 96d761dc0ea7a96641d17f1251317580808368c2 | |
parent | ff7e4d2a1516510e3a832340db1b86e349011a23 [diff] |
pinctrl-st: fix of_irq_to_resource() result check 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@cogentembedded.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>