]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Factor out some of the code in mmc_go_idle()
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Fri, 13 Sep 2024 10:28:20 +0000 (18:28 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Oct 2024 10:40:10 +0000 (12:40 +0200)
commitacbf2f3c72cee8630eea4e10e599c19f042ae73d
tree8fb2549ee86232e89f67d11c21123340bfd10625
parenta9a75f9dc23c1562dcb261c0a8f3d6fc70d246cd
mmc: core: Factor out some of the code in mmc_go_idle()

Move some part out from mmc_go_idle() into a new function called
__mmc_go_idle(), allowing it to be re-used, which is shown from a
subsequent change.

Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Link: https://lore.kernel.org/r/20240913102836.6144-7-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c
drivers/mmc/core/mmc_ops.h