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

Commit b16f5839 authored by Nitin Rawat's avatar Nitin Rawat
Browse files

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



There is some power impact seen with autohibern8 idle
timer value of 10ms. Hence reverting back the autohiber8 timer
value back to 5ms.

This reverts commit ef3f24dd.

Change-Id: Ic2f97e6f53e1711a869c9617e15c06e53d1e2e33
Signed-off-by: default avatarNitin Rawat <nitirawa@codeaurora.org>
parent 323f338f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;