diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-07-20 11:10:53 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-07-24 13:22:39 +0530 |
commit | 5f756d03e2c7db63c1df7148d7b1739f29ff1532 (patch) | |
tree | 3505828ed917814c82989185a306006135f6680f /Documentation/hwmon/hwmon-kernel-api.rst | |
parent | 142e17c1c2b48e3fb4f024e62ab6dee18f268694 (diff) |
OPP: Introduce dev_pm_opp_get_freq_indexed() API
In the case of devices with multiple clocks, drivers need to specify the
frequency index for the OPP framework to get the specific frequency within
the required OPP. So let's introduce the dev_pm_opp_get_freq_indexed() API
accepting the frequency index as an argument.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[ Viresh: Fixed potential access to NULL opp pointer ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/hwmon/hwmon-kernel-api.rst')
0 files changed, 0 insertions, 0 deletions