提交 1466b3bc 编写于 作者: D Daniil Lunev 提交者: Martin K. Petersen

scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL

Sets the WriteBooster capability flag when ADL's UFS controller is used.

Link: https://lore.kernel.org/r/20220705165316.v2.1.Ib5ebec952d9a59f5c69c89b694777f517d22466d@changeidAcked-by: NAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: NDaniil Lunev <dlunev@chromium.org>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 b3d11f19
...@@ -426,6 +426,7 @@ static int ufs_intel_adl_init(struct ufs_hba *hba) ...@@ -426,6 +426,7 @@ static int ufs_intel_adl_init(struct ufs_hba *hba)
{ {
hba->nop_out_timeout = 200; hba->nop_out_timeout = 200;
hba->quirks |= UFSHCD_QUIRK_BROKEN_AUTO_HIBERN8; hba->quirks |= UFSHCD_QUIRK_BROKEN_AUTO_HIBERN8;
hba->caps |= UFSHCD_CAP_WB_EN;
return ufs_intel_common_init(hba); return ufs_intel_common_init(hba);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册