Re: [PATCH 1/3] power: domain: add pm_genpd_uninit

2015-11-30 Thread Kevin Hilman
Alexander Aring writes: > This patch adds function pm_genpd_uninit for undo a pm_genpd_init. This > is useful for multiple power domains while probing. If the probing fails > after one pm_genpd_init was called we need to undo all previous > registrations of generic pm domains inside the gpd_list

Re: [PATCH 1/3] power: domain: add pm_genpd_uninit

2015-11-24 Thread Ulf Hansson
On 19 November 2015 at 19:08, Alexander Aring wrote: > This patch adds function pm_genpd_uninit for undo a pm_genpd_init. This > is useful for multiple power domains while probing. If the probing fails > after one pm_genpd_init was called we need to undo all previous > registrations of generic pm

[PATCH 1/3] power: domain: add pm_genpd_uninit

2015-11-19 Thread Alexander Aring
This patch adds function pm_genpd_uninit for undo a pm_genpd_init. This is useful for multiple power domains while probing. If the probing fails after one pm_genpd_init was called we need to undo all previous registrations of generic pm domains inside the gpd_list list. There is a check on IS_ERR_