Merge "Revert "scsi: ufs: Increase ah8 idle to 10ms""

This commit is contained in:
qctecmdr 2020-12-10 11:38:52 -08:00 • committed by Gerrit - the friendly Code Review server
commit 016be0999a

View file

@ -1835,8 +1835,8 @@ static int ufs_qcom_apply_dev_quirks(struct ufs_hba *hba)
spin_lock_irqsave(hba->host->host_lock, flags);
/* Set the rpm auto suspend delay to 3s */
hba->host->hostt->rpm_autosuspend_delay = UFS_QCOM_AUTO_SUSPEND_DELAY;
/* Set the default auto-hiberate idle timer value to 10ms */
hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 10) |
/* Set the default auto-hiberate idle timer value to 5ms */
hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 5) |
FIELD_PREP(UFSHCI_AHIBERN8_SCALE_MASK, 3);
/* Set the clock gating delay to performance mode */
hba->clk_gating.delay_ms = UFS_QCOM_CLK_GATING_DELAY_MS_PERF;