Re: [PATCH] soc: rockchip: power-domain: Handle errors from of_genpd_add_provider_onecell

2016-09-15 Thread Tomeu Vizoso
On 09/16/2016 12:31 AM, Heiko Stübner wrote: > Am Donnerstag, 15. September 2016, 16:39:34 schrieb Heiko Stübner: >> Am Donnerstag, 15. September 2016, 12:43:41 schrieb Tomeu Vizoso: >>> It was a bit surprising that the device was reported to have probed just >>> fine, but the provider hadn't been

Re: [PATCH] soc: rockchip: power-domain: Handle errors from of_genpd_add_provider_onecell

2016-09-15 Thread Heiko Stübner
Am Donnerstag, 15. September 2016, 16:39:34 schrieb Heiko Stübner: > Am Donnerstag, 15. September 2016, 12:43:41 schrieb Tomeu Vizoso: > > It was a bit surprising that the device was reported to have probed just > > fine, but the provider hadn't been registered. > > > > So handle any errors when r

Re: [PATCH] soc: rockchip: power-domain: Handle errors from of_genpd_add_provider_onecell

2016-09-15 Thread Heiko Stübner
Am Donnerstag, 15. September 2016, 12:43:41 schrieb Tomeu Vizoso: > It was a bit surprising that the device was reported to have probed just > fine, but the provider hadn't been registered. > > So handle any errors when registering the provider and fail the probe > accordingly. > > Signed-off-by:

[PATCH] soc: rockchip: power-domain: Handle errors from of_genpd_add_provider_onecell

2016-09-15 Thread Tomeu Vizoso
It was a bit surprising that the device was reported to have probed just fine, but the provider hadn't been registered. So handle any errors when registering the provider and fail the probe accordingly. Signed-off-by: Tomeu Vizoso Cc: Caesar Wang --- drivers/soc/rockchip/pm_domains.c | 6 +