diff options
author | Ulf Hansson <[email protected]> | 2016-10-19 16:15:31 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-11-29 09:00:35 +0100 |
commit | 70562644f4ee15214986966720ffe82fad03e693 (patch) | |
tree | 2f7afc2628b9167d11b64e38a0c51c71f825b4c8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 716bdb8953c7cad649a62e3333bf59cdd177db3b (diff) |
mmc: core: Don't use ->card_busy() and CMD13 in combination when polling
When polling for busy after sending a MMC_SWITCH command, both the optional
->card_busy() callback and CMD13 are being used in conjunction.
This doesn't make sense. Instead it's more reasonable to rely solely on the
->card_busy() callback when it exists. Let's change that and instead use
the CMD13 as a fall-back. In this way we avoid sending CMD13, unless it's
really needed.
Within this context, let's also take the opportunity to make some
additional clean-ups and clarifications to the related code.
Signed-off-by: Ulf Hansson <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions