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

Commit a083287e authored by Asutosh Das's avatar Asutosh Das Committed by Todd Kjos
Browse files

FROMGIT: scsi: ufs-qcom: Configure write booster type

Enable WriteBooster for Qualcomm platform.

Bug: 157166850
(cherry picked from commit 04ee8a01abf8aa89d1bcdacffefc9a8879336a2c
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git 5.8/scsi-queue)
Link: https://lore.kernel.org/r/cd4cf745ea0b3a59c2075036e17316b97494fe65.1587591527.git.asutoshd@codeaurora.org


Reviewed-by: default avatarAvri Altman <avri.altman@wdc.com>
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Change-Id: I1f23ccc0772e33a7a501a1b316d35c3fad96aefb
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 44059abd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1078,6 +1078,7 @@ static void ufs_qcom_set_caps(struct ufs_hba *hba)
	hba->caps |= UFSHCD_CAP_CLK_GATING | UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
	hba->caps |= UFSHCD_CAP_CLK_SCALING;
	hba->caps |= UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
	hba->caps |= UFSHCD_CAP_WB_EN;

	if (host->hw_ver.major >= 0x2) {
		host->caps = UFS_QCOM_CAP_QUNIPRO |