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

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

scsi: ufs: fix issues with link power off during suspend



Fix ufshcd_is_link_off() always returning zero even if link
is really off.

During resume if the link is off the resume sequence tries to reset
and restore the device communication but as the resume operation
is asynchronous, scheduling an asynchronous (ufshcd_async_scan())
operation inside another asynchronous operation creates a deadlock.
Fix this by probing the hba in the resume context rather than asynchronous
context.

Change-Id: If7c4c6d646c90eb99a9dfad8d792312428d1a4bd
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
parent 8cd640e8
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