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

Commit 8f3b3717 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: optimize clock, pm_qos, hibern8 handling in queuecommand



ufshcd_queuecommand() vote for the resources in this order: clocks,
pm_qos latency, hibern8 exit. If any of these votes are not already
applied, each one has to be applied asynchronously and in that case we are
releasing all the previously applied resource votes (for example, if
hibern8 exit has to be completed asynchronously, we release the votes for
pm_qos and clocks as well). This is not a optimal solution instead we
should skip scheduling the unvoting work for already voted resources.

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