Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions drivers/ufs/core/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,8 +1214,6 @@ int ufshcd_scale_clks(struct ufs_hba *hba, unsigned long freq, bool scale_up)
goto out;
}

ufshcd_pm_qos_update(hba, scale_up);

out:
trace_ufshcd_profile_clk_scaling(hba,
(scale_up ? "up" : "down"),
Expand Down Expand Up @@ -9950,8 +9948,8 @@ static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on)
if (ret)
return ret;

if (!ufshcd_is_clkscaling_supported(hba))
ufshcd_pm_qos_update(hba, on);
/* Hold the PM QoS vote while the controller is active to keep CPUs out of deep idle. */
ufshcd_pm_qos_update(hba, on);
out:
if (ret) {
list_for_each_entry(clki, head, list) {
Expand Down
Loading