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

In few use cases (like: cpufreq), it is desired to get the maximum
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