irqchip/irq-imx-gpcv2: Mark fwnode device as not initialized
authorSaravana Kannan <saravanak@google.com>
Tue, 7 Feb 2023 01:42:02 +0000 (17:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:37:55 +0000 (13:37 +0100)
commite2bbea770cafb7e19bbb6cd77fad3c1c6fb4cca5
tree866432b146596f49fbfa04741b71c7de4c5676c8
parent4a032827daa89350365166b19d14d82fe8219128
irqchip/irq-imx-gpcv2: Mark fwnode device as not initialized

Since this device is only partially initialized by the irqchip driver,
we need to mark the fwnode device as not initialized. This is to let
fw_devlink know that the device will be completely initialized at a
later point. That way, fw_devlink will continue to defer the probe of
the power domain consumers till the power domain driver successfully
binds to the struct device and completes the initialization of the
device.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # qcom/sm7225-fairphone-fp4
Link: https://lore.kernel.org/r/20230207014207.1678715-11-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-imx-gpcv2.c
drivers/soc/imx/gpcv2.c