Merge "scsi: ufs-qcom: disable hibern8 during clk gating"
This commit is contained in:
commit
f0da3aae3b
1 changed files with 7 additions and 0 deletions
|
@ -1532,6 +1532,13 @@ static void ufshcd_init_clk_gating(struct ufs_hba *hba)
|
|||
if (!ufshcd_is_clkgating_allowed(hba))
|
||||
return;
|
||||
|
||||
/*
|
||||
* Disable hibern8 during clk gating if
|
||||
* auto hibern8 is supported
|
||||
*/
|
||||
if (ufshcd_is_auto_hibern8_supported(hba))
|
||||
hba->caps &= ~UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
|
||||
|
||||
INIT_DELAYED_WORK(&gating->gate_work, ufshcd_gate_work);
|
||||
INIT_WORK(&gating->ungate_work, ufshcd_ungate_work);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue