summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-01-07 14:49:05 +0100
committerShawn Guo <shawnguo@kernel.org>2018-02-22 11:22:12 +0800
commit7801c545e706674aeed40256eb806ad37b18ad71 (patch)
treeb4a81094aba1e1d9a97c9e89099c950196ac4f63 /arch
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-stable-7801c545e706674aeed40256eb806ad37b18ad71.tar.gz
linux-stable-7801c545e706674aeed40256eb806ad37b18ad71.tar.bz2
linux-stable-7801c545e706674aeed40256eb806ad37b18ad71.zip
soc: imx: gpc: de-register power domains only if initialized
If power domain information are missing in the device tree, no power domains get initialized. However, imx_gpc_remove tries to remove power domains always in the old DT binding case. Only remove power domains when imx_gpc_probe initialized them in first place. Fixes: 721cabf6c660 ("soc: imx: move PGC handling to a new GPC driver") Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions