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

Commit c6029bb6 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: make error handling bit faster



UFS driver's error handler forcefully tries to clear all the pending
requests. For each pending request in the queue, it waits 1 sec for it
to get cleared. If we have multiple requests in the queue then it's
possible that we might end up waiting for those many seconds before
resetting the host. But note that resetting host would any way clear all
the pending requests from the hardware. Hence this change skips the
forceful clear of the pending requests if we are anyway going to
reset the host (for fatal errors).

Change-Id: I1ce761a140d84b6e1ed53aa215fc8141e336ff64
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent ef34c322
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