]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: dt: Print error on failing to mark OPPs as shared
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 2 Sep 2015 09:06:49 +0000 (14:36 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 3 Sep 2015 00:46:09 +0000 (02:46 +0200)
commitf569f4e9e3f2441009cd1e6b4e8e010463f1aa3b
tree5f38de6f89e2eba0f5cd4bd658d6df8819314c2c
parentaa24b3d2c01adff6035b9f04bd17ad2a4d268323
cpufreq: dt: Print error on failing to mark OPPs as shared

We need to explicitly mark OPPs as shared, when they are not defined
with OPP-v2 bindings. This operation can potentially fail, and in that
case we should at least print an error message.

Fixes: b8e0f19d2ec7 ("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>
drivers/cpufreq/cpufreq-dt.c