diff options
author | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2016-10-17 17:11:07 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:58 -0500 |
commit | 3f0c06de80d3898e68adcaba83a2b7ac51cf23d8 (patch) | |
tree | 76f38afb7404959124f0ef06e6938b4d9a9ea469 /drivers/uwb | |
parent | f2a785ac23125fa0774327d39e837e45cf28fe92 (diff) | |
download | linux-3f0c06de80d3898e68adcaba83a2b7ac51cf23d8.tar.bz2 |
scsi: ufs: optimize clock gate work
In a case where gate work is called as part of cancel work from ungate
path the clk state would be marked as REQ_CLKS_ON. There is no point
gating the clocks and then end up turning them ON immediately in ungate
work, save time by skipping the gate work and change the clk state to
CLKS_ON as they are not turned off yet.
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions