diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2013-02-01 17:14:33 +0530 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:25:44 -0700 |
| commit | fec8ffcb2b32902a07fb298453f254bebdc503d0 (patch) | |
| tree | f4841ce02a55a00c09e9ef045363691f5763258f /include | |
| parent | 0b0df0844f6429385cfb35d8a3237cc7d7eae24b (diff) | |
mmc: core: run clock scaling only in valid card state
Clock scaling requires the tuning and if the tuning command
is sent to the card in invalid state, tuning procedure will
fail.
With urgent request mechanism implemented, there is a chance
that clock scaling invoked when card is not in a proper state
to receive the tuning command.
This change checks the card state (by sending the status command)
before invoking the clock scaling request.
Change-Id: Icb71a8e74a9afdc70380a5901cd3d28931959e9c
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
