]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: passive: Fix get_target_freq when not using required-opp
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Jun 2021 06:05:43 +0000 (15:05 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 24 Jun 2021 01:37:35 +0000 (10:37 +0900)
commit1e38338bbe93e418fb391abe7ef9efeb8d6aa61e
tree5b790df8995378426dbf3d9ca94e8cf871f5b7e2
parentc5a34ddb87234142b531aaebc4cecfddab890eca
PM / devfreq: passive: Fix get_target_freq when not using required-opp

The 7d5a55fb7cb7 ("PM / devfreq: Add required OPPs support to passive governor")
supported the required-opp property for using devfreq passive governor.
But, 7d5a55fb7cb7 has caused the problem on use-case when required-opp
is not used such as exynos-bus.c devfreq driver. So that fix the
get_target_freq of passive governor for supporting the case of when
required-opp is not used.

Fixes: 7d5a55fb7cb7 ("PM / devfreq: Add required OPPs support to passive governor")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/governor_passive.c