diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-02-09 10:30:39 +0530 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-04-08 11:24:28 +0800 |
| commit | 6229dc0db2699e56996cb114a85eb59988e1163a (patch) | |
| tree | c694e81cabf83f0d9950d4ea71509d3b8fd99d9d /lib/string_helpers.c | |
| parent | b7737cf7aaeb35319e61acdc0166a3a06e25bd82 (diff) | |
PM / OPP: Add dev_pm_opp_set_rate()
This adds a routine, dev_pm_opp_set_rate(), responsible for configuring
power-supply and clock source for an OPP.
The OPP is found by matching against the target_freq passed to the
routine. This shall replace similar code present in most of the OPP
users and help simplify them a lot.
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>
(cherry picked from commit 6a0712f6f199e737aa5913d28ec4bd3a25de9660)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
