diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-07-29 22:52:09 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-02 19:26:52 +1000 |
commit | f29bb7861a5107cc1afbf5a565c3109aa88d5984 (patch) | |
tree | a4509f05427bd8a118624edfc4b733cf367bc391 /arch/powerpc/kernel/idle_book3s.S | |
parent | cc491f1d3583146eaee635c86b9c9227fa835c6c (diff) | |
download | linux-f29bb7861a5107cc1afbf5a565c3109aa88d5984.tar.gz linux-f29bb7861a5107cc1afbf5a565c3109aa88d5984.tar.bz2 linux-f29bb7861a5107cc1afbf5a565c3109aa88d5984.zip |
powerpc/83xx/mpc832x_rdb: fix of_irq_to_resource() error check
of_irq_to_resource() has recently been fixed to return negative error #'s
along with 0 in case of failure, however the Freescale MPC832x RDB board
code still only regards 0 as a 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>
Acked-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/idle_book3s.S')
0 files changed, 0 insertions, 0 deletions