summaryrefslogtreecommitdiff
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-01-18 03:55:18 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 10:27:01 +0530
commit8dd5cada393f6f4e825833a6ff05b1f51f36a791 (patch)
tree7410be8cacbe7d580cc38cba8bb10bb151e212e7 /drivers/opp/opp.h
parentd758eaf5f8cbdf2554e34269c75694f60c38745d (diff)
opp: Add dev_pm_opp_find_level_ceil()
Add a ceil version of the dev_pm_opp_find_level(). It's handy to have if levels don't start from 0 in OPP table and zero usually means a minimal level. Tested-by: Peter Geis <pgwipeout@gmail.com> Tested-by: Nicolas Chauvet <kwizart@gmail.com> Tested-by: Matt Merhar <mattmerhar@protonmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/opp.h')
0 files changed, 0 insertions, 0 deletions