summaryrefslogtreecommitdiff
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorDov Levenglick <dovl@codeaurora.org>2015-07-16 11:58:38 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:04 -0700
commit8ee51daf1c95730aefbc700d51abd147c4fac435 (patch)
tree747f40c60b7dc9af119b2d655467dc850fd714bd /include/linux/mmc/host.h
parentd83bd544785109918936084ea90aee4f8e4420c2 (diff)
mmc: schci: add support for MMC_PM_KEEP_POWER in eMMC
There are eMMC cards that should not be powered off during suspend/resume cycles. This patch adds support for such cards and avoids powering the card off during suspend or powering it back on during resume when MMC_PM_KEEP_POWER is set. Change-Id: Iec1a0aac80ee41dff56f192e7253c2bd00c15694 Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-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 9bf53de32a07..c6d0ff9f1cbe 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -287,6 +287,7 @@ enum dev_state {
DEV_SUSPENDING = 1,
DEV_SUSPENDED,
DEV_RESUMED,
+ DEV_UNKNOWN, /* Device is in an unknown state */
};
/**