commit | ea3651fee6c92a29244830334979396465ed8587 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor@chromium.org> | Fri Nov 14 14:19:03 2014 -0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Dec 26 16:23:35 2014 -0700 |
tree | f88ab069f7e2e59dd7fbb9d18168f9547a2b179c | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
PCI: keystone: Fix error handling of irq_of_parse_and_map() Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov <dtor@chromium.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-By: Murali Karicheri <m-karicheri2@ti.com>