scsi: ufs: Modify Tactive time setting conditions
authorSEO HOYOUNG <hy50.seo@samsung.com>
Thu, 6 Jan 2022 21:39:24 +0000 (06:39 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 10 Jan 2022 15:44:21 +0000 (10:44 -0500)
commit9008661e19606bdf6dddd33073b70872da400590
tree13728e28d43b083849825f0f82d07bd41f3c7763
parent1aa7d9799e85addc29c06ece99bf1eae1ef9198f
scsi: ufs: Modify Tactive time setting conditions

The Tactive time determines the waiting time before burst at hibern8 exit
and is determined by hardware at linkup time. However, in the case of
Samsung devices, increase host's Tactive time +100us for stability. If the
HCI's Tactive time is equal or greater than the device, +100us should be
set.

Link: https://lore.kernel.org/r/20220106213924.186263-1-hy50.seo@samsung.com
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c