cpufreq: cpu0: try regulators with name "cpu-supply"
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 28 Aug 2014 05:52:29 +0000 (11:22 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Sep 2014 23:44:41 +0000 (01:44 +0200)
commit2d2c5e0e72546c1b4375ff5820ca8016c7123cbb
tree7c68dff7ab1009909c30b55e006a58d44bb8f823
parentd2f31f1da54f83c4eb2738402284c49cd51798d1
cpufreq: cpu0: try regulators with name "cpu-supply"

Currently, we expect regulator name to be "cpu0", but as we are going to support
multiple cpu-blocks (all CPUs in a block share clock/voltage) later, we need to
pass some generic string instead of that.

For backwards compatibility try for "cpu0" first and if it fails, then try for
"cpu".

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c
This page took 0.045629 seconds and 5 git commands to generate.