opp: Remove bandwidth votes when target_freq is zero
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 27 May 2020 04:03:44 +0000 (09:33 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 29 May 2020 04:45:12 +0000 (10:15 +0530)
commitb00e667a6d8b2b0f53098ec12ff1ffe7f7c9be20
tree7b6a581a7fc8b51605a8477be4b646a43d9e4cc8
parent8d45719caaf56c859be0172447f8559c0df40f93
opp: Remove bandwidth votes when target_freq is zero

We already drop several votes when target_freq is set to zero, drop
bandwidth votes as well.

Reported-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Georgi Djakov <georgi.djakov@linaro.org>
Tested-by: Georgi Djakov <georgi.djakov@linaro.org>
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Tested-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c