]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scsi: ufs-qcom: enable UFSHCD_QUIRK_BROKEN_LCC
authorYaniv Gardi <ygardi@codeaurora.org>
Sun, 17 May 2015 15:55:00 +0000 (18:55 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 2 Jun 2015 20:15:07 +0000 (13:15 -0700)
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>
drivers/scsi/ufs/ufs-qcom.c

index e8dc050543cdc3da1f628c2a349aac3e6b5dade0..76d6e9d95a19373a1d2e057362ba86ae2a60af2d 100644 (file)
@@ -715,6 +715,8 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
        }
 
        if (host->hw_ver.major >= 0x2) {
+               hba->quirks |= UFSHCD_QUIRK_BROKEN_LCC;
+
                if (!ufs_qcom_cap_qunipro(host))
                        /* Legacy UniPro mode still need following quirks */
                        hba->quirks |= UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS;