diff options
| author | Rajendra Nayak <[email protected]> | 2019-03-20 09:49:09 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2019-06-17 04:21:31 +0000 |
| commit | cd7ea582866f43324f3d60f0d4daac05e08f0f41 (patch) | |
| tree | 94e61b00cd519eb374ddc84c62daef7fbdef6738 /drivers/pci/controller/pci-host-common.c | |
| parent | opp: Don't overwrite rounded clk rate (diff) | |
| download | kernel-cd7ea582866f43324f3d60f0d4daac05e08f0f41.tar.gz kernel-cd7ea582866f43324f3d60f0d4daac05e08f0f41.zip | |
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 <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
[ Viresh: Updated _set_required_opps() to handle the !opp case ]
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
