scsi: ufs: Disable local LCC in .link_startup_notify() in Cadence UFS
authorAnil Varughese <aniljoy@cadence.com>
Tue, 13 Aug 2019 07:42:50 +0000 (08:42 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 21:42:52 +0000 (17:42 -0400)
commite55f24ffa936e09673905a9176a8a9d22cf68d40
treeeead546fe97d86b976df05850d430649305fa1e9
parent5f6b4e1e09331938a818cf8f371025ae03dee069
scsi: ufs: Disable local LCC in .link_startup_notify() in Cadence UFS

Some UFS devices 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.

Signed-off-by: Anil Varughese <aniljoy@cadence.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/cdns-pltfrm.c