diff options
author | 2017-11-29 15:41:15 +0200 | |
---|---|---|
committer | 2017-12-11 12:44:39 +0100 | |
commit | 7eb43d537166c7d767af450901acd0ecbf94625c (patch) | |
tree | a178622db857d9bca2254f04c4e55eb2a7a3bc97 /drivers/mmc/core/queue.c | |
parent | mmc: block: Reduce polling timeout from 10 minutes to 10 seconds (diff) | |
download | linux-dev-7eb43d537166c7d767af450901acd0ecbf94625c.tar.xz linux-dev-7eb43d537166c7d767af450901acd0ecbf94625c.zip |
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/queue.c')
0 files changed, 0 insertions, 0 deletions