[PATCH] soc: imx: gpc: de-register power domains only if initialized

Fabio Estevam festevam at gmail.com
Sat Feb 10 08:24:09 PST 2018

On Sun, Jan 7, 2018 at 11:49 AM, Stefan Agner <stefan at agner.ch> wrote:
> 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")
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Signed-off-by: Stefan Agner <stefan at agner.ch>

Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>

More information about the linux-arm-kernel mailing list