+22
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:
Sujit Reddy Thumma <sthumma@codeaurora.org>