summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAsutosh Das <asutoshd@codeaurora.org>2015-03-02 23:14:05 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:33 -0700
commiteb2587ce536bffd12bc2cd2a59e3331ba34d4d68 (patch)
treee0db4b2a9007a76a4aedd1681df25665e9591431 /include/linux
parentf446730be194afa78404fd8d1e474305218a000c (diff)
mmc: queue: add timeout capability to requests
Individual requests can have timeouts defined. The default timeout is set to 120 seconds. On a timeout, the block layer notifies the driver and error can be handled thereafter. Change-Id: Ifcd690411770ab266c12a01bb0993f92b0f18bc6 Signed-off-by: Asutosh Das <asutoshd@codeaurora.org> Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 18d041f85f95..6c6a699abea9 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -96,6 +96,7 @@ struct mmc_cmdq_host_ops {
int err);
int (*halt)(struct mmc_host *host, bool halt);
void (*reset)(struct mmc_host *host, bool soft);
+ void (*dumpstate)(struct mmc_host *host);
};
struct mmc_host_ops {