scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startup
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:19 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commit4b9ad0b88c3e8400f23aac63ac7709d4cd972392
tree8f4b3f57d9186f174db2d3940d55848d26c62981
parentb799fdf754b5c6c4dad0016826fb6b3e79bccaea
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>
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/unipro.h