MLK-18435-2 power: imx8: remove the resource owned check before poewr off
authorPeng Fan <peng.fan@nxp.com>
Wed, 30 May 2018 01:48:34 +0000 (09:48 +0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:14 +0000 (04:28 -0700)
commitac653837834c3647097eb6ba8a2ed3f8244aa322
tree51afef6223aa2c251e19421e0d72541d56c456a3
parent96dd0e9f43e20d26570376c43f8745dc939e6e3b
MLK-18435-2 power: imx8: remove the resource owned check before poewr 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>
(cherry picked from commit 3e29e8adace18035850be9d56cc277c64a221e85)
(cherry picked from commit 81e64d882c2904f5aa38121d020f6e21e142aaf8)
drivers/power/domain/imx8-power-domain.c