提交 2f018378 编写于 作者: Y Yaniv Gardi 提交者: James Bottomley

scsi: ufs-qcom: enable UFSHCD_QUIRK_BROKEN_LCC

LCC (Line Control Command) are being used for communication between
UFS host and UFS device. But UFS host controller on QUALCOMM
Technologies have an issue with issuing the LCC commands to
UFS device and hence this quirk is enabled in order to to disable
LCC from the host side.
Signed-off-by: NYaniv Gardi <ygardi@codeaurora.org>
Reviewed-by: NAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
上级 7ca38cf3
...@@ -715,6 +715,8 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba) ...@@ -715,6 +715,8 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
} }
if (host->hw_ver.major >= 0x2) { if (host->hw_ver.major >= 0x2) {
hba->quirks |= UFSHCD_QUIRK_BROKEN_LCC;
if (!ufs_qcom_cap_qunipro(host)) if (!ufs_qcom_cap_qunipro(host))
/* Legacy UniPro mode still need following quirks */ /* Legacy UniPro mode still need following quirks */
hba->quirks |= UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS; hba->quirks |= UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册