mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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: Avri Altman <avri.altman@wdc.com> Signed-off-by: Asutosh Das <asutoshd@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Change-Id: I1f23ccc0772e33a7a501a1b316d35c3fad96aefb Signed-off-by: Can Guo <cang@codeaurora.org>
This commit is contained in:
parent
44059abd5d
commit
a083287ef5
1 changed files with 1 additions and 0 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Reference in a new issue