Commit 2e083cd
scsi: ufs: core: Fix clk scaling to be conditional in reset and restore
In ufshcd_host_reset_and_restore(), scale up clocks only when clock
scaling is supported. Without this change CPU latency is voted for 0
(ufshcd_pm_qos_update) during resume unconditionally.
Signed-off-by: anvithdosapati <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: a3cd5ec ("scsi: ufs: add load based scaling of UFS gear")
Cc: [email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 752eb81 commit 2e083cd
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7807 | 7807 | | |
7808 | 7808 | | |
7809 | 7809 | | |
7810 | | - | |
| 7810 | + | |
| 7811 | + | |
7811 | 7812 | | |
7812 | 7813 | | |
7813 | 7814 | | |
| |||
0 commit comments