diff options
author | Rajendra Nayak <rnayak@codeaurora.org> | 2019-03-20 12:49:09 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-06-17 07:21:31 +0300 |
commit | cd7ea582866f43324f3d60f0d4daac05e08f0f41 (patch) | |
tree | 94e61b00cd519eb374ddc84c62daef7fbdef6738 /drivers/reset | |
parent | b3e3759ee4abd72bedbf4b109ff1749d3aea6f21 (diff) | |
download | linux-cd7ea582866f43324f3d60f0d4daac05e08f0f41.tar.xz |
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 'drivers/reset')
0 files changed, 0 insertions, 0 deletions