power: imx8: remove the resource owned check before power off
authorPeng Fan <peng.fan@nxp.com>
Mon, 4 May 2020 13:16:52 +0000 (21:16 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commite8f8b5ccf2b1b02f1614941d025c31cfbf78ab2b
tree96a47b8d12da9b390157481e63306959c20ec441
parentca0c52710c14e9d38f8e493625a3a51147ebddcc
power: imx8: remove the resource owned check before power off

For all the devices used and set ACTIVE in U-Boot, U-Boot needs
to power off all of them without the check of resource owner.

When we create software partition before booting Linux, the resource
own checkw will return false, and cause the power domain not powered
off. If without the check of resource owner, the power domain in
the other software partition could be powered off with parent
partition could access child partition resources.

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