]> 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:35:53 +0000 (11:35 +0800)
commit0349dbebbb0becda11953b3f633528d68780bc7e
tree48a7d2e3af36287fabe988ff100591eb192e3cba
parent7ed49e1bf5b398940137ba4e13fea0f03994dc84
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