]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Add mmc_retune_hold_now()
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 10 Aug 2017 12:08:06 +0000 (15:08 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:02:01 +0000 (14:02 +0200)
commit662eb52e618c2d45fd8bb513f85d958a36844854
tree4f965264412da3f37c5145d21ae7efc6eb281429
parentf1057b8996c082980afd8bc899c0b75528ddc618
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>
drivers/mmc/core/host.c
drivers/mmc/core/host.h