|
@@ -744,6 +744,8 @@ static void ufshcd_exit_clk_gating(struct ufs_hba *hba)
|
|
|
if (!ufshcd_is_clkgating_allowed(hba))
|
|
if (!ufshcd_is_clkgating_allowed(hba))
|
|
|
return;
|
|
return;
|
|
|
device_remove_file(hba->dev, &hba->clk_gating.delay_attr);
|
|
device_remove_file(hba->dev, &hba->clk_gating.delay_attr);
|
|
|
|
|
+ cancel_work_sync(&hba->clk_gating.ungate_work);
|
|
|
|
|
+ cancel_delayed_work_sync(&hba->clk_gating.gate_work);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Must be called with host lock acquired */
|
|
/* Must be called with host lock acquired */
|