1
0
Fork 0
alistair23-linux/arch/powerpc/platforms/83xx
Sergei Shtylyov f29bb7861a 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: 7a4228bbff ("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>
2017-08-02 19:26:52 +10:00
..
Kconfig powerpc: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-08 09:54:53 +02:00
Makefile powerpc/83xx: rename and update kmeter1 2011-03-15 10:06:37 -05:00
asp834x.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
km83xx.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mcu_mpc8349emitx.c powerpc: mpc8349emitx: Delete unnecessary assignment for the field "owner" 2016-08-22 11:09:33 +10:00
misc.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc83xx.h powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc830x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc831x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc832x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc832x_rdb.c powerpc/83xx/mpc832x_rdb: fix of_irq_to_resource() error check 2017-08-02 19:26:52 +10:00
mpc834x_itx.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc834x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc836x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc836x_rdk.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc837x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc837x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
sbc834x.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
suspend-asm.S tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
suspend.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
usb.c PowerPC-83xx: Deletion of an unnecessary check before the function call "of_node_put" 2015-01-29 23:16:19 -06:00