diff options
| author | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2016-08-12 18:09:58 -0700 |
|---|---|---|
| committer | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2016-08-16 10:49:53 -0700 |
| commit | 4ec56cf5dd8ccdd338931be4aa2615b188ce722d (patch) | |
| tree | 166a14e5794da8f487a25e991f20637b35fcc706 /kernel/locking/rtmutex-debug.c | |
| parent | 2e45ea728118fa88ba245a0a755d0a3844d9f54e (diff) | |
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.
Change-Id: I3e8edf979c94a8e0954fd77e0b158bec8902b4e9
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions
