diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-12-01 13:58:22 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-06 04:28:00 +0300 |
commit | e231f8d7ed9a01280d18cd897ae0bbb4118bc954 (patch) | |
tree | e78f2a46fce1083580e46a3fb1c52fb28015d714 /drivers/cpufreq | |
parent | 4dab160eb1586f67e8ba7c55ffdd2373f7a5553e (diff) | |
download | linux-e231f8d7ed9a01280d18cd897ae0bbb4118bc954.tar.xz |
PM / OPP: Don't WARN on multiple calls to dev_pm_opp_set_regulators()
If a platform specific OPP driver has called this routine first and set
the regulators, then the second call from cpufreq-dt driver will hit the
WARN_ON(). Remove the WARN_ON(), but continue to return error in such
cases.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions