]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: Add required OPPs support to passive governor
authorSaravana Kannan <saravanak@google.com>
Thu, 4 Feb 2021 08:14:24 +0000 (16:14 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Feb 2021 11:18:16 +0000 (16:48 +0530)
commit7d5a55fb7cb70fb6b0cf81a6b5872aa468fb93ee
tree3c6ad046c9a92edb4a763d1a4d2b30f7682d1200
parent6704e5189e63f402d3f91eedccf55359a07b91cc
PM / devfreq: Add required OPPs support to passive governor

Look at the required OPPs of the "parent" device to determine the OPP that
is required from the slave device managed by the passive governor. This
allows having mappings between a parent device and a slave device even when
they don't have the same number of OPPs.

While at it do a minor spell-fix and remove out label.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
[ Viresh: Rearranged code and clean error paths ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/devfreq/governor_passive.c