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

Shawn Guo shawnguo at kernel.org
Wed Feb 21 19:21:19 PST 2018

On Sun, Jan 07, 2018 at 02:49:05PM +0100, Stefan Agner 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>

Applied, thanks.

More information about the linux-arm-kernel mailing list