diff options
| author | Ulf Hansson <[email protected]> | 2021-07-02 15:42:28 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-08-24 10:15:31 +0200 |
| commit | 468108155b0f89cc08189cc33f9bacfe9da8a125 (patch) | |
| tree | 4767c6ee222375f87704ec26d7f463ee03eac914 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 972d5084831dc9ae30f1a4b66cb4a19fb7ba6f09 (diff) | |
mmc: core: Avoid hogging the CPU while polling for busy for mmc ioctls
When __mmc_blk_ioctl_cmd() calls card_busy_detect() to verify that the
card's states moves back into transfer state, the polling with CMD13 is
done without any delays in between the commands being sent.
Rather than fixing card_busy_detect() in this regards, let's instead
convert into using the common mmc_poll_for_busy(), which also helps us to
avoid open-coding.
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions