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:
Sujit Reddy Thumma <sthumma@codeaurora.org>
Loading
Please register or sign in to comment