]> git.baikalelectronics.ru Git - kernel.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)
commit73a14055014c890427dff4ebfdc190dfcc218652
tree467c1863858db29c25d273de6135012bdb50cb1d
parent9af3fc38f5d757a93cd5e6d0c8cec334334b2d88
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