summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/kirkwood-cpufreq.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2018-10-03 17:38:15 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-18 13:25:09 +0300
commit2c9b7f8772033cc8bafbd4eefe2ca605bf3eb094 (patch)
tree6cabeb3f4c2461443e0f0ba00aa5f1006a8bbe3b /drivers/cpufreq/kirkwood-cpufreq.c
parent2c361684803e0129007806b1ce42cbf9c52f8cd0 (diff)
downloadlinux-2c9b7f8772033cc8bafbd4eefe2ca605bf3eb094.tar.xz
PM / Domains: Deal with multiple states but no governor in genpd
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 user about such bogus configuration and avoid to bail out, by instead picking the shallowest state before genpd invokes the ->power_off() callback. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Lina Iyer <ilina@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/kirkwood-cpufreq.c')
0 files changed, 0 insertions, 0 deletions