power: imx8: Check owned resource in power on
authorYe Li <ye.li@nxp.com>
Mon, 4 May 2020 13:16:53 +0000 (21:16 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commit1074af51ec04c17a755c76fe0f76b0d53ca47af9
tree263905e025694a296531fc1349e25f9e8fa29c7d
parente8f8b5ccf2b1b02f1614941d025c31cfbf78ab2b
power: imx8: Check owned resource in power on

When fspi is assigned to M4, we have to let the fspi probe failed when
its power domain is failed to power up. Because not all devices have power
domain (for example, external devices on the board). Current checking
resource owner in power domain probe is not good, change to check it in
power on.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/domain/imx8-power-domain-legacy.c