diff options
author | Douglas Anderson <dianders@chromium.org> | 2019-06-17 10:56:52 -0700 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-18 13:30:32 +0200 |
commit | b4c9f938d542d5f88c501744d2d12fad4fd2915f (patch) | |
tree | 467c1863858db29c25d273de6135012bdb50cb1d /include | |
parent | 2de0b42da263c97d330d276f5ccf7c4470e3324f (diff) | |
download | linux-stable-b4c9f938d542d5f88c501744d2d12fad4fd2915f.tar.gz linux-stable-b4c9f938d542d5f88c501744d2d12fad4fd2915f.tar.bz2 linux-stable-b4c9f938d542d5f88c501744d2d12fad4fd2915f.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/sdio_func.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index 4820e6d09dac..5a177f7a83c3 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h @@ -170,4 +170,7 @@ extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags); extern void sdio_retune_crc_disable(struct sdio_func *func); extern void sdio_retune_crc_enable(struct sdio_func *func); +extern void sdio_retune_hold_now(struct sdio_func *func); +extern void sdio_retune_release(struct sdio_func *func); + #endif /* LINUX_MMC_SDIO_FUNC_H */ |