]> 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)
commitb588795291e5012f43641a6b0d57d59193fc287c
tree8826c9954f665303de987231a2498b14324e0d27
parentf5770cb442ba08a3006cf4225c4c21acb4e050bf
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