Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 608ed759 authored by Asutosh Das's avatar Asutosh Das
Browse files

scsi: ufs-qcom: Increase ah8 timeout to 5ms



Increases the ah8 value to 5ms for higher performance.
There's negligible power impact.

Change-Id: I053a167e56b0027d9c71918b4c574ce876518408
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent 5acb6085
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1628,8 +1628,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 1ms */
	hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 1) |
	/* 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;