From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Thu, 22 Feb 2018 11:21:19 +0800 Subject: [PATCH] soc: imx: gpc: de-register power domains only if initialized In-Reply-To: <20180107134905.15624-1-stefan@agner.ch> References: <20180107134905.15624-1-stefan@agner.ch> Message-ID: <20180222032117.GC3217@dragon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Signed-off-by: Stefan Agner Applied, thanks.