aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/core.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-08-25 15:43:46 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:03:33 +0200
commitd3bf68ae04c7e29ed3c30b7f4b1f0c6a4a11c7f1 (patch)
treebf03c4baa9a87d7351f2e3c9b9aae639b5e6f5fa /include/linux/mmc/core.h
parentmmc: core: Add members to mmc_request and mmc_data for CQE's (diff)
downloadlinux-dev-d3bf68ae04c7e29ed3c30b7f4b1f0c6a4a11c7f1.tar.xz
linux-dev-d3bf68ae04c7e29ed3c30b7f4b1f0c6a4a11c7f1.zip
mmc: host: Add CQE interface
Add CQE host operations, capabilities, and host members. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/core.h')
-rw-r--r--include/linux/mmc/core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index bf1788a224e6..c6d17f626234 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -156,6 +156,12 @@ struct mmc_request {
struct completion completion;
struct completion cmd_completion;
void (*done)(struct mmc_request *);/* completion function */
+ /*
+ * Notify uppers layers (e.g. mmc block driver) that recovery is needed
+ * due to an error associated with the mmc_request. Currently used only
+ * by CQE.
+ */
+ void (*recovery_notifier)(struct mmc_request *);
struct mmc_host *host;
/* Allow other commands during this ongoing data transfer or busy wait */