summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/acpi-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-09-02 14:36:48 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-03 02:46:09 +0200
commit7d5d0c8ba369cbfb68eec6912f35197d82214668 (patch)
tree85b24b4c9551e5f700309608e53e90fabd46686e /drivers/cpufreq/acpi-cpufreq.c
parent0ed537b5fd18c38b526fd0e6837a00f96aee30c4 (diff)
downloadtalos-op-linux-7d5d0c8ba369cbfb68eec6912f35197d82214668.tar.gz
talos-op-linux-7d5d0c8ba369cbfb68eec6912f35197d82214668.zip
cpufreq: dt: Check OPP count before marking them shared
We need to explicitly mark OPPs as shared, when they are not defined with OPP-v2 bindings. But this isn't required to be done if we failed to initialize OPP table. Reorder code to verify OPP count before marking them shared. Fixes: 2e02d8723edf ("cpufreq: dt: Add support for operating-points-v2 bindings") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud