Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6cc2a1b authored by Sujit Reddy Thumma's avatar Sujit Reddy Thumma
Browse files

scsi: ufs: Avoid resuming while handling errors during suspend



If there are any scsi command errors while executing host suspend,
the scsi error handling routine would wait for host to be resumed
and handle the errors. If the host suspend initiates a blocking scsi
command which would also wait for error handling to be completed,
it causes a deadlock. Fix this by skipping "wait till resume" in
error handling while there are pending commands during host suspend.

Change-Id: I41def4b21bbe7808869c6b92f7f12939ba6ecf29
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
parent 76ccdc74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment