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>
This commit is contained in:
parent
c14e7adf3a
commit
04ee8a01ab
@ -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_GATING | UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
|
||||||
hba->caps |= UFSHCD_CAP_CLK_SCALING;
|
hba->caps |= UFSHCD_CAP_CLK_SCALING;
|
||||||
hba->caps |= UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
|
hba->caps |= UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
|
||||||
|
hba->caps |= UFSHCD_CAP_WB_EN;
|
||||||
|
|
||||||
if (host->hw_ver.major >= 0x2) {
|
if (host->hw_ver.major >= 0x2) {
|
||||||
host->caps = UFS_QCOM_CAP_QUNIPRO |
|
host->caps = UFS_QCOM_CAP_QUNIPRO |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user