summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/queue.h
diff options
context:
space:
mode:
authorAdrian Hunter2015-05-07 12:10:24 +0200
committerUlf Hansson2015-06-01 09:06:59 +0200
commitb8360a4945c49c07568892b5958c08e01bf7d6d2 (patch)
treef372f144ac3eb8a0638e3a977098fcb393dcee76 /drivers/mmc/card/queue.h
parentmmc: block: Check re-tuning in the recovery path (diff)
downloadkernel-qcow2-linux-b8360a4945c49c07568892b5958c08e01bf7d6d2.tar.gz
kernel-qcow2-linux-b8360a4945c49c07568892b5958c08e01bf7d6d2.tar.xz
kernel-qcow2-linux-b8360a4945c49c07568892b5958c08e01bf7d6d2.zip
mmc: block: Retry errored data requests when re-tuning is needed
Retry errored data requests when re-tuning is needed and add a flag to struct mmc_blk_request so that the retry is only done once. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/card/queue.h')
-rw-r--r--drivers/mmc/card/queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/card/queue.h b/drivers/mmc/card/queue.h
index 99e6521e6169..36cddab57d77 100644
--- a/drivers/mmc/card/queue.h
+++ b/drivers/mmc/card/queue.h
@@ -12,6 +12,7 @@ struct mmc_blk_request {
struct mmc_command cmd;
struct mmc_command stop;
struct mmc_data data;
+ int retune_retry_done;
};
enum mmc_packed_type {