commit | 8dd5cada393f6f4e825833a6ff05b1f51f36a791 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Mon Jan 18 03:55:18 2021 +0300 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Tue Feb 02 10:27:01 2021 +0530 |
tree | 7410be8cacbe7d580cc38cba8bb10bb151e212e7 | |
parent | d758eaf5f8cbdf2554e34269c75694f60c38745d [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>