diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-07-29 20:07:07 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:02 +0200 |
commit | 98c01b19b85d8d87927e8cfa09c4a2a14add9ba2 (patch) | |
tree | 96d761dc0ea7a96641d17f1251317580808368c2 /Documentation | |
parent | pinctrl: Add DT bindings for Cortina Gemini (diff) | |
download | linux-98c01b19b85d8d87927e8cfa09c4a2a14add9ba2.tar.xz linux-98c01b19b85d8d87927e8cfa09c4a2a14add9ba2.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions