diff options
author | Asutosh Das <asutoshd@codeaurora.org> | 2020-04-22 14:41:44 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-27 18:39:57 -0400 |
commit | 04ee8a01abf8aa89d1bcdacffefc9a8879336a2c (patch) | |
tree | 798ed97089e216c953af64c2ba0a37c292a033a4 /drivers/scsi/ufs | |
parent | c14e7adf3a6a8d0ce4d16f839f9737ad3481e239 (diff) | |
download | linux-stable-04ee8a01abf8aa89d1bcdacffefc9a8879336a2c.tar.gz linux-stable-04ee8a01abf8aa89d1bcdacffefc9a8879336a2c.tar.bz2 linux-stable-04ee8a01abf8aa89d1bcdacffefc9a8879336a2c.zip |
scsi: ufs-qcom: Configure write booster type
Enable WriteBooster for Qualcomm platform.
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>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufs-qcom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 701e9184adff..00ce8d6cbb36 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -1070,6 +1070,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 | |