]> git.baikalelectronics.ru Git - kernel.git/commit
opp: Add dev_pm_opp_find_level_exact()
authorNiklas Cassel <niklas.cassel@linaro.org>
Thu, 25 Jul 2019 10:41:29 +0000 (12:41 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 26 Jul 2019 07:54:59 +0000 (13:24 +0530)
commitb5ba2fc80fc2a0525afccf425402c25539600afa
tree8826c9954f665303de987231a2498b14324e0d27
parentc0619e8610a8471d5a3008beb43fdf60147360ef
opp: Add dev_pm_opp_find_level_exact()

Since the performance states in the OPP table are unique, implement a
dev_pm_opp_find_level_exact() in order to be able to fetch a specific OPP.

Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
[ Viresh: Updated commit log ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
include/linux/pm_opp.h