of: irq: Report individual failures in of_irq_init()
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Wed, 7 Sep 2022 12:16:29 +0000 (14:16 +0200)
committerRob Herring <robh@kernel.org>
Wed, 7 Sep 2022 15:54:55 +0000 (10:54 -0500)
commit27244cbda82787c9283ce79f5e7bea8ecaa58dff
treeb1ee6be7eab63e6506d0c17c62ca465f5c079458
parented18a9b140bc2e3728be9c18b97df07cdd0fe33a
of: irq: Report individual failures in of_irq_init()

New pr_err(), a copy of preceeding pr_debug(), faciliates debugging.

This change was inspired by a long lasting debugging of the
octeon_irq_init_ciu() which fails completely silently and leaves the
interrupt controller half-way configured which in turn had very non-obvious
effects.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Link: https://lore.kernel.org/r/20220907121629.54330-1-alexander.sverdlin@nokia.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/irq.c