]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:44 +0000 (11:34 +0800)
commit55dc448847c9edaf128234bc6f14ac9d16c11e6c
tree38e97c07906c139369c020b519802e889c974bd3
parent2ea454840793b8c8022d242cba3ad8f92cae5313
mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()

commit b4c9f938d542d5f88c501744d2d12fad4fd2915f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/sdio_io.c
include/linux/mmc/sdio_func.h