Commit 52f72874 authored by Bart Van Assche's avatar Bart Van Assche Committed by huan tang
Browse files

UPSTREAM: scsi: ufs: Reduce the START STOP UNIT timeout



Reduce the START STOP UNIT command timeout to one second since on Android
devices a kernel panic is triggered if an attempt to suspend the system
takes more than 20 seconds. One second should be enough for the START STOP
UNIT command since this command completes in less than a millisecond for
the UFS devices I have access to.

Change-Id: Ibe4960f00bfa4ae6871b563c2f91d37aa4cb6150
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221018202958.1902564-7-bvanassche@acm.org


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Bug: 281961970
Bug: 258234315
(cherry picked from commit dcd5b763)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
(cherry picked from commit cfc314cd)
parent 18d8e2fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment