diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-06-21 07:59:13 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-24 02:41:55 +0300 |
commit | 829a4e8c0e9aab17bcfe2ddb070388b8ada26292 (patch) | |
tree | d81f8ee5aee499c3dac6115557bc740f9f98ec66 /fs/ocfs2/localalloc.h | |
parent | b21569cf1de925e0a42c9964bd7f520cb4a4d875 (diff) | |
download | linux-829a4e8c0e9aab17bcfe2ddb070388b8ada26292.tar.xz |
PM / OPP: Add dev_pm_opp_{set|put}_clkname()
In order to support OPP switching, OPP layer needs to get pointer to the
clock for the device. Simple cases work fine without using the routines
added by this patch (i.e. by passing connection-id as NULL), but for a
device with multiple clocks available, the OPP core needs to know the
exact name of the clk to use.
Add a new set of APIs to get that done.
Tested-by: Rajendra Nayak <rnayak@codeaurora.org>
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>
Diffstat (limited to 'fs/ocfs2/localalloc.h')
0 files changed, 0 insertions, 0 deletions