]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
authorDouglas Anderson <dianders@chromium.org>
Mon, 17 Jun 2019 17:56:52 +0000 (10:56 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Jun 2019 11:30:32 +0000 (13:30 +0200)
commitb4c9f938d542d5f88c501744d2d12fad4fd2915f
tree467c1863858db29c25d273de6135012bdb50cb1d
parent2de0b42da263c97d330d276f5ccf7c4470e3324f
mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()

We want SDIO drivers to be able to temporarily stop retuning when the
driver knows that the SDIO card is not in a state where retuning will
work (maybe because the card is asleep).  We'll move the relevant
functions to a place where drivers can call them.

Cc: stable@vger.kernel.org #v4.18+
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio_io.c
include/linux/mmc/sdio_func.h