summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/host.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-08-10 15:08:06 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 14:02:01 +0200
commitbf517d6fec719980fe3b7acd9670a68442a372b7 (patch)
tree4f965264412da3f37c5145d21ae7efc6eb281429 /drivers/mmc/core/host.h
parentdc8d68bb6c6f7d7fb1aeb3450c0654598e4f4e52 (diff)
downloadtalos-obmc-linux-bf517d6fec719980fe3b7acd9670a68442a372b7.tar.gz
talos-obmc-linux-bf517d6fec719980fe3b7acd9670a68442a372b7.zip
mmc: core: Add mmc_retune_hold_now()
mmc_return_hold() / mmc_retune_release() are used around a group of commands to prevent re-tuning between the commands. Re-tuning can still happen before the first command. In some cases, re-tuning must be prevented entirely. Add mmc_retune_hold_now() for that purpose. It is added in preparation for CQE support where it will be used by CQE recovery. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/host.h')
-rw-r--r--drivers/mmc/core/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/host.h b/drivers/mmc/core/host.h
index fb6a76a03833..77d6f60d1bf9 100644
--- a/drivers/mmc/core/host.h
+++ b/drivers/mmc/core/host.h
@@ -19,6 +19,7 @@ void mmc_unregister_host_class(void);
void mmc_retune_enable(struct mmc_host *host);
void mmc_retune_disable(struct mmc_host *host);
void mmc_retune_hold(struct mmc_host *host);
+void mmc_retune_hold_now(struct mmc_host *host);
void mmc_retune_release(struct mmc_host *host);
int mmc_retune(struct mmc_host *host);
void mmc_retune_pause(struct mmc_host *host);
OpenPOWER on IntegriCloud