summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorTalel Shenhar <tatias@codeaurora.org>2015-06-25 09:33:24 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:52 -0700
commit2941d9d5bdbabca9a8302aa1571bdf85d00300a0 (patch)
tree4c798dd1aada5e538f03370eb124bb1f2873ca58 /include/linux/mmc
parenta9c940c044ad74de4d0fe3fdb41432703e61e23a (diff)
mmc: sdhci: cmdq: add notification for cmdq halt
During halted CMDQ mode, HW expects descriptors sizes same as used in CMDQ mode. Our SW uses the legacy path (SDHCI) in case CMDQ is halted, thus, we need to update legacy path of the fact that we are in Halted CMDQ state so it can adjust the descriptors size accordingly. This change adds a notification mechanism for that purpose. Change-Id: Iabb473696fb11827dfcce9b137c26b2c5a5a879d Signed-off-by: Talel Shenhar <tatias@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts & compilation errors] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/mmc')
-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 a0b472ba414a..7f624c5338b5 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -178,6 +178,7 @@ struct mmc_host_ops {
unsigned long (*get_min_frequency)(struct mmc_host *host);
int (*notify_load)(struct mmc_host *, enum mmc_load);
+ void (*notify_halt)(struct mmc_host *mmc, bool halt);
};
struct mmc_card;