remarkable-linux/drivers/soc/imx
Stefan Agner e1bb3673ae soc: imx: gpc: de-register power domains only if initialized
[ Upstream commit 7801c545e7 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:00 +02:00
..
gpc.c soc: imx: gpc: de-register power domains only if initialized 2018-05-30 07:52:00 +02: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