diff options
author | Yaniv Gardi <ygardi@codeaurora.org> | 2016-03-10 16:37:19 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-03-15 02:04:45 +0100 |
commit | 4b9ad0b88c3e8400f23aac63ac7709d4cd972392 (patch) | |
tree | 8f4b3f57d9186f174db2d3940d55848d26c62981 /drivers/scsi/ufs/unipro.h | |
parent | scsi: ufs: add device quirk delay before putting UFS rails in LPM (diff) | |
download | linux-4b9ad0b88c3e8400f23aac63ac7709d4cd972392.tar.xz linux-4b9ad0b88c3e8400f23aac63ac7709d4cd972392.zip |
scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startup
Some UFS devices (and may be host) have issues if LCC is
enabled. So we are setting PA_Local_TX_LCC_Enable to 0
before link startup which will make sure that both host
and device TX LCC are disabled once link startup is
completed.
Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/unipro.h')
-rw-r--r-- | drivers/scsi/ufs/unipro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h index 80820209e045..e2854e45f8d3 100644 --- a/drivers/scsi/ufs/unipro.h +++ b/drivers/scsi/ufs/unipro.h @@ -75,6 +75,7 @@ #define PA_MAXRXSPEEDFAST 0x1541 #define PA_MAXRXSPEEDSLOW 0x1542 #define PA_TXLINKSTARTUPHS 0x1544 +#define PA_LOCAL_TX_LCC_ENABLE 0x155E #define PA_TXSPEEDFAST 0x1565 #define PA_TXSPEEDSLOW 0x1566 #define PA_REMOTEVERINFO 0x15A0 |