summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/mmc_test.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-11-29 16:41:15 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-12-11 14:44:39 +0300
commit7eb43d537166c7d767af450901acd0ecbf94625c (patch)
treea178622db857d9bca2254f04c4e55eb2a7a3bc97 /drivers/mmc/core/mmc_test.c
parent6b7a363d2ce83e3940dc0c3628e478fe95f23985 (diff)
downloadlinux-7eb43d537166c7d767af450901acd0ecbf94625c.tar.xz
mmc: block: blk-mq: Stop using legacy recovery
There are only a few things the recovery needs to do. Primarily, it just needs to: Determine the number of bytes transferred Get the card back to transfer state Determine whether to retry There are also a couple of additional features: Reset the card before the last retry Read one sector at a time The legacy code spent much effort analyzing command errors, but commands fail fast, so it is simpler just to give all command errors the same number of retries. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/core/mmc_test.c')
0 files changed, 0 insertions, 0 deletions