]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mmc: mmc: Introduce mmc_abort_tuning()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 2 Dec 2016 13:14:23 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 13:16:22 +0000 (14:16 +0100)
commite711f0309109701cb422aab44ace4ea0dccb89ea
tree43032d7231d650cca2d35bcd90afeadcdff0a61c
parent0760c355525c08dd598e86edb2a310688ac8af4c
mmc: mmc: Introduce mmc_abort_tuning()

If a tuning command times out, the card could still be processing it, which
will cause problems for recovery. The eMMC specification says that CMD12
can be used to stop CMD21, so add a function that does that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c
include/linux/mmc/core.h