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

Commit 430841a3 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs-msm: don't enable interrupt aggregation



Current versions of UFS host controllers on our MSMs have interrupt
aggregation logic broken. Interrupt aggregation may not work if both
threshold count and timeout is enabled. Hence disable interrupt
aggregation by enabling UFSHCD_QUIRK_BROKEN_INTR_AGGR quirk until
its fixed in the newer UFS host controller revisions.

Change-Id: I063c6d577c370bfcf5648b4b0df9292c30984c63
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 2d37de8c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1672,6 +1672,7 @@ static void msm_ufs_advertise_quirks(struct ufs_hba *hba)
	else if ((major == 0x1) && (minor == 0x001) && (step == 0x0001))
		hba->quirks |= (UFSHCD_QUIRK_BROKEN_HIBERN8
			      | UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS
			      | UFSHCD_QUIRK_BROKEN_INTR_AGGR
			      | UFSHCD_QUIRK_BROKEN_SUSPEND);
}