linux/drivers/soc/imx
Stefan Agner 7801c545e7 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: 721cabf6c6 ("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>
2018-02-22 11:22:12 +08:00
..
gpc.c soc: imx: gpc: de-register power domains only if initialized 2018-02-22 11:22:12 +08:00
gpcv2.c soc: imx: gpcv2: fix regulator deferred probe 2017-08-05 11:12:20 +08:00
Kconfig soc: imx: add PM dependency for IMX7_PM_DOMAINS 2017-05-15 09:33:22 +08:00
Makefile soc: imx: gpc: build gpc only if hardware has gpc 2017-05-15 10:22:25 +08:00