soc: imx: imx8m-blk-ctrl: Defer probe if 'bus' genpd is not yet ready
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Mon, 19 Sep 2022 12:13:02 +0000 (14:13 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Oct 2022 09:23:21 +0000 (17:23 +0800)
commit1a1da28544fd869824d2ffe1b7b2b03689d69dc1
tree2deaee65ed53729d10afded691747066fc8ab039
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
soc: imx: imx8m-blk-ctrl: Defer probe if 'bus' genpd is not yet ready

Depending of the boot sequence 'bus' genpd could be probed after imx8m-blk-ctrl
which led driver probe to fail. Change the returned error to allow
to defer the probe in this case.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/imx8m-blk-ctrl.c