]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Fix NOP OUT timeout value
authorDaejun Park <daejun7.park@samsung.com>
Wed, 2 Sep 2020 02:58:52 +0000 (11:58 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Sep 2020 00:14:01 +0000 (20:14 -0400)
commit49f3dd1dc247fb61af9d9d25e0b084a6e5423040
tree6bb0c7a662b68739881dee056fef358e0644ffbc
parente06e962e2cedd0b1d7d99456d5c0a347c03779ec
scsi: ufs: Fix NOP OUT timeout value

Boot occasionally fails with some Samsung low-power UFS devices. The reason
is that these devices have a little bit higher latency for NOP OUT
responses. This causes boot to fail because the NOP OUT command is issued
during initialization to check whether the device transport protocol is
ready or not. Increase NOP_OUT_TIMEOUT value from 30 to 50ms.

Link: https://lore.kernel.org/r/231786897.01599016081767.JavaMail.epsvc@epcpadp2
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c