summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@codeaurora.org>2019-03-20 15:19:09 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2019-06-17 09:51:31 +0530
commitcd7ea582866f43324f3d60f0d4daac05e08f0f41 (patch)
tree94e61b00cd519eb374ddc84c62daef7fbdef6738 /tools
parentb3e3759ee4abd72bedbf4b109ff1749d3aea6f21 (diff)
opp: Make dev_pm_opp_set_rate() handle freq = 0 to drop performance votes
For devices with performance state, we use dev_pm_opp_set_rate() to set the appropriate clk rate and the performance state. We do need a way to remove the performance state vote when we idle the device and turn the clocks off. Use dev_pm_opp_set_rate() with freq = 0 to achieve this. Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> [ Viresh: Updated _set_required_opps() to handle the !opp case ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions