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

From: Fabio Estevam
Date: Sat Feb 10 2018 - 11:24:19 EST


On Sun, Jan 7, 2018 at 11:49 AM, Stefan Agner <stefan@xxxxxxxx> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>

Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxx>