Re: [PATCH v7 02/26] PM / Domains: Deal with multiple states but no governor in genpd

2018-04-16 Thread Lina Iyer
On Thu, Apr 12 2018 at 05:14 -0600, Ulf Hansson wrote: A caller of pm_genpd_init() that provides some states for the genpd via the ->states pointer in the struct generic_pm_domain, should also provide a governor. This because it's the job of the governor to pick a state that satisfies the constra

[PATCH v7 02/26] PM / Domains: Deal with multiple states but no governor in genpd

2018-04-12 Thread Ulf Hansson
A caller of pm_genpd_init() that provides some states for the genpd via the ->states pointer in the struct generic_pm_domain, should also provide a governor. This because it's the job of the governor to pick a state that satisfies the constraints. Therefore, let's print a warning to inform the use