From 8ee51daf1c95730aefbc700d51abd147c4fac435 Mon Sep 17 00:00:00 2001 From: Dov Levenglick Date: Thu, 16 Jul 2015 11:58:38 +0300 Subject: 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 --- include/linux/mmc/host.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 */ }; /** -- cgit v1.2.3