summaryrefslogtreecommitdiff
path: root/drivers/devfreq/event/rockchip-dfi.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-10-03 16:42:28 +0530
committerChanwoo Choi <cw00.choi@samsung.com>2023-10-09 07:28:50 +0900
commit8b3bd6ffbc6475a7dc92c6d6021d49b555301c01 (patch)
tree16fa443284e850e06dbaa1c90e2247c3b102ae8a /drivers/devfreq/event/rockchip-dfi.c
parentd2805601988fb0b41247c95dcb4b8b8455921978 (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/20231003111232.42663-3-manivannan.sadhasivam@linaro.org/ Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/event/rockchip-dfi.c')
0 files changed, 0 insertions, 0 deletions