]> git.baikalelectronics.ru Git - kernel.git/commit
OPP: Add function to look up required OPP's for a given OPP
authorSaravana Kannan <saravanak@google.com>
Thu, 4 Feb 2021 08:14:22 +0000 (16:14 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Feb 2021 11:00:14 +0000 (16:30 +0530)
commit633b59e1bccdd6bd7067dc4c0cb3b707e32df542
tree6d6d69f3d586c044b91d3eb2615ee6c0db7d183e
parent7a96d0660c89758000f1e9414396b3946958c2ec
OPP: Add function to look up required OPP's for a given OPP

Add a function that allows looking up required OPPs given a source OPP
table, destination OPP table and the source OPP.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
[ Viresh: Rearranged code, fixed return errors ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
include/linux/pm_opp.h