diff options
author | Manivannan Sadhasivam <[email protected]> | 2023-10-03 16:42:28 +0530 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2023-10-09 07:28:50 +0900 |
commit | 8b3bd6ffbc6475a7dc92c6d6021d49b555301c01 (patch) | |
tree | 16fa443284e850e06dbaa1c90e2247c3b102ae8a /tools/perf/util/trace-event-scripting.c | |
parent | d2805601988fb0b41247c95dcb4b8b8455921978 (diff) |
PM / devfreq: Switch to dev_pm_opp_find_freq_{ceil/floor}_indexed() APIs
Some devfreq consumers like UFS driver need to work with multiple clocks
through the OPP framework. For this reason, OPP framework exposes the
_indexed() APIs for finding the floor/ceil of the supplied frequency of
the indexed clock. So let's use them in the devfreq driver.
Currently, the clock index of 0 is used which works fine for multiple as
well as single clock.
Link: https://lore.kernel.org/all/[email protected]/
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions