Re: [PATCH] ARM: imx6: Fix GPC probe error path

2016-10-26 Thread Fabio Estevam
Hi Guenter, On Wed, Oct 26, 2016 at 12:35 AM, Guenter Roeck wrote: > Looking into this some more, it turns out that > of_genpd_add_provider_onecell() > now returns an error if one of the provided power domains does not exist. > In this case, the "ARM" power domain does not

Re: [PATCH] ARM: imx6: Fix GPC probe error path

2016-10-26 Thread Fabio Estevam
Hi Guenter, On Wed, Oct 26, 2016 at 12:35 AM, Guenter Roeck wrote: > Looking into this some more, it turns out that > of_genpd_add_provider_onecell() > now returns an error if one of the provided power domains does not exist. > In this case, the "ARM" power domain does not exist. I don't see

Re: [PATCH] ARM: imx6: Fix GPC probe error path

2016-10-25 Thread Guenter Roeck
On 10/25/2016 10:34 AM, Guenter Roeck wrote: GPC may fail to instantiate with imx-gpc: probe of 20dc000.gpc failed with error -22 which is returned from of_genpd_add_provider_onecell(). The error path does not call pm_genpd_remove(). This results in the following crash later on. Unhandled

Re: [PATCH] ARM: imx6: Fix GPC probe error path

2016-10-25 Thread Guenter Roeck
On 10/25/2016 10:34 AM, Guenter Roeck wrote: GPC may fail to instantiate with imx-gpc: probe of 20dc000.gpc failed with error -22 which is returned from of_genpd_add_provider_onecell(). The error path does not call pm_genpd_remove(). This results in the following crash later on. Unhandled

[PATCH] ARM: imx6: Fix GPC probe error path

2016-10-25 Thread Guenter Roeck
GPC may fail to instantiate with imx-gpc: probe of 20dc000.gpc failed with error -22 which is returned from of_genpd_add_provider_onecell(). The error path does not call pm_genpd_remove(). This results in the following crash later on. Unhandled fault: page domain fault (0x01b) at 0x0040 pgd

[PATCH] ARM: imx6: Fix GPC probe error path

2016-10-25 Thread Guenter Roeck
GPC may fail to instantiate with imx-gpc: probe of 20dc000.gpc failed with error -22 which is returned from of_genpd_add_provider_onecell(). The error path does not call pm_genpd_remove(). This results in the following crash later on. Unhandled fault: page domain fault (0x01b) at 0x0040 pgd