commit | 531da74075a7805768ce3cd323e37e3548cbf6c5 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Fri Jul 21 20:30:39 2017 +0300 |
committer | Rob Herring <robh@kernel.org> | Fri Jul 21 16:58:55 2017 -0500 |
tree | 501d1ab022709371d88f85cf85a6201ba43600f8 | |
parent | b4b201d88b7c9b3c6acdd03f9adec0c9857548ce [diff] |
of: irq: fix of_irq_to_resource() error check of_irq_to_resource() has recently been fixed to return negative error #'s along with 0, however of_irq_to_resource_table() still only regards 0 as invalid IRQ -- 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: Rob Herring <robh@kernel.org>