diff options
| author | Talel Shenhar <tatias@codeaurora.org> | 2015-07-20 16:12:31 +0300 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:27:03 -0700 |
| commit | 9ee678d1ddb6864c140d0442a958f195c149d78a (patch) | |
| tree | a18c9cfa7569837a2c8a0db4066be993bad4a85a /include/linux/timerqueue.h | |
| parent | 63d9f77d9f65b6291dff524e590169cb99ef176c (diff) | |
mmc: clk-scaling: fix invalid state handling during cmdq
This change fixes an issue that can happen for clock scaling
sequence during command-queue.
This is the sequence for scaling the clocks in case of
command queuing:
1) Halt queue
2) Check if state invalid
3) Scale clocks
4) Un-halt scale
In case step 2 fails (e.g. device state is different
than R1_STATE_TRAN), we should avoid scaling the clocks and
un-halt the queue. The issue was that step 4 was not
happening in case of invalid state, this change fixes it.
Change-Id: I308b0d6406631febe364d14de7551eb7f628cb40
Signed-off-by: Talel Shenhar <tatias@codeaurora.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
