diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-02-04 09:54:42 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-03-24 14:35:39 +0100 |
commit | 6972096a03ae40f1365d2829f92fd19202b2b326 (patch) | |
tree | 529d0ad50421f5edbca184d6f374c5b88ca0aad6 /drivers/mmc/core/sdio_bus.h | |
parent | 02098ccdd823b598e92508918e20b37a1169df42 (diff) | |
download | linux-6972096a03ae40f1365d2829f92fd19202b2b326.tar.gz linux-6972096a03ae40f1365d2829f92fd19202b2b326.tar.bz2 linux-6972096a03ae40f1365d2829f92fd19202b2b326.zip |
mmc: core: Split up mmc_poll_for_busy()
To make the code more readable, move the part that gets the busy status of
the card out into a separate function, mmc_busy_status(). Then call it from
mmc_poll_for_busy().
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Baolin Wang <baolin.wang7@gmail.com>
Tested-by: Ludovic Barre <ludovic.barre@st.com>
Reviewed-by: Ludovic Barre <ludovic.barre@st.com>
Link: https://lore.kernel.org/r/20200204085449.32585-6-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/mmc/core/sdio_bus.h')
0 files changed, 0 insertions, 0 deletions