PM / OPP: Introduce dev_pm_opp_get_max_volt_latency()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 9 Feb 2016 05:00:35 +0000 (10:30 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Feb 2016 00:11:53 +0000 (01:11 +0100)
commit655c9df961751ce21466f6e97e8033932c27a675
tree948ced554152d5599dfe92c0aa24dab3db7f8aa1
parent7d34d56ef3349cd5f29cf7aab6650f3414fa81b9
PM / OPP: Introduce dev_pm_opp_get_max_volt_latency()

In few use cases (like: cpufreq), it is desired to get the maximum
voltage latency for changing OPPs. Add support for that.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c
include/linux/pm_opp.h