summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/unipro.h
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2016-03-10 15:37:19 (GMT)
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-15 01:04:45 (GMT)
commit4b9ad0b88c3e8400f23aac63ac7709d4cd972392 (patch)
tree8f4b3f57d9186f174db2d3940d55848d26c62981 /drivers/scsi/ufs/unipro.h
parentb799fdf754b5c6c4dad0016826fb6b3e79bccaea (diff)
downloadlinux-4b9ad0b88c3e8400f23aac63ac7709d4cd972392.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h
index 8082020..e2854e4 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