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

2018-02-21 Thread Shawn Guo
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 i

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

2018-02-10 Thread Fabio Estevam
On Sun, Jan 7, 2018 at 11:49 AM, 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 initializ

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

2018-02-10 Thread Stefan Agner
On 07.01.2018 14:49, 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 >

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

2018-01-09 Thread Lucas Stach
Am Sonntag, den 07.01.2018, 14:49 +0100 schrieb Stefan Agner: > 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 i

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

2018-01-09 Thread Lucas Stach
Am Montag, den 08.01.2018, 22:17 +0100 schrieb Stefan Agner: > On 2018-01-08 11:51, Lucas Stach wrote: > > Am Montag, den 08.01.2018, 18:28 +0800 schrieb Dong Aisheng: > > > On Sun, Jan 07, 2018 at 02:49:05PM +0100, Stefan Agner wrote: > > > > If power domain information are missing in the device t

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

2018-01-08 Thread Stefan Agner
On 2018-01-08 11:51, Lucas Stach wrote: > Am Montag, den 08.01.2018, 18:28 +0800 schrieb Dong Aisheng: >> 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 tri

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

2018-01-08 Thread Lucas Stach
Am Montag, den 08.01.2018, 18:28 +0800 schrieb Dong Aisheng: > 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

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

2018-01-08 Thread Dong Aisheng
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 i

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

2018-01-07 Thread Stefan Agner
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