diff options
| author | Viresh Kumar <[email protected]> | 2016-02-09 05:00:39 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-02-10 00:11:54 +0000 |
| commit | 6a0712f6f199e737aa5913d28ec4bd3a25de9660 (patch) | |
| tree | 5591576208af1bcf27a90beaec4b64895bb703b8 /lib/string_helpers.c | |
| parent | PM / OPP: Manage device clk (diff) | |
| download | kernel-6a0712f6f199e737aa5913d28ec4bd3a25de9660.tar.gz kernel-6a0712f6f199e737aa5913d28ec4bd3a25de9660.zip | |
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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
