Commit b7a525a2 authored by Bart Van Assche's avatar Bart Van Assche Committed by Bart Van Assche
Browse files

UPSTREAM: scsi: ufs: Try harder to change the power mode



Instead of only retrying the START STOP UNIT command if a unit attention is
reported, repeat it if any SCSI error is reported by the device or if the
command timed out.

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


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