summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2015-05-17 11:55:00 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-06-02 16:15:07 -0400
commit2f0183781a77e84bf58b1b375d49f73d3a96d4ee (patch)
treec3531d85631ff73c04de9f677e09fc0f8533d5eb /drivers/scsi/ufs
parent7ca38cf300eb7fba9010d847baa6a4f5c458dd4e (diff)
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: Yaniv Gardi <ygardi@codeaurora.org> Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufs-qcom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index e8dc050543cd..76d6e9d95a19 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b/drivers/scsi/ufs/ufs-qcom.c
@@ -715,6 +715,8 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
715 } 715 }
716 716
717 if (host->hw_ver.major >= 0x2) { 717 if (host->hw_ver.major >= 0x2) {
718 hba->quirks |= UFSHCD_QUIRK_BROKEN_LCC;
719
718 if (!ufs_qcom_cap_qunipro(host)) 720 if (!ufs_qcom_cap_qunipro(host))
719 /* Legacy UniPro mode still need following quirks */ 721 /* Legacy UniPro mode still need following quirks */
720 hba->quirks |= UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS; 722 hba->quirks |= UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS;