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)
commit7d8658ef65a4f891d0cff6340fa717b378384642
tree6d6d69f3d586c044b91d3eb2615ee6c0db7d183e
parent1d614920318b914f86c1fec2adec06ad2f7c3f55
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