diff options
author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-05-17 17:55:01 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-06-02 22:15:47 +0200 |
commit | c3a2f9ee93cf2d074dbf0234c2ef5dcdbf84a7d0 (patch) | |
tree | 4b9cf656c87bd731e421bb7b10181186bd211314 /drivers/scsi/ufs/ufshcd.h | |
parent | scsi: ufs-qcom: enable UFSHCD_QUIRK_BROKEN_LCC (diff) | |
download | linux-c3a2f9ee93cf2d074dbf0234c2ef5dcdbf84a7d0.tar.xz linux-c3a2f9ee93cf2d074dbf0234c2ef5dcdbf84a7d0.zip |
scsi: ufs: introduce a broken PA_RXHSUNTERMCAP quirk
The attribute PA_RXHSUNTERMCAP specifies whether or not the
inbound Link supports unterminated line in HS mode. enabling this
attribute to 1 fixes moving to HS gear.
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/ufshcd.h')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index b845f1535f29..8636ec970946 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -435,6 +435,13 @@ struct ufs_hba { */ #define UFSHCD_QUIRK_BROKEN_LCC UFS_BIT(2) + /* + * The attribute PA_RXHSUNTERMCAP specifies whether or not the + * inbound Link supports unterminated line in HS mode. Setting this + * attribute to 1 fixes moving to HS gear. + */ + #define UFSHCD_QUIRK_BROKEN_PA_RXHSUNTERMCAP UFS_BIT(3) + unsigned int quirks; /* Deviations from standard UFSHCI spec. */ wait_queue_head_t tm_wq; |