summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDov Levenglick <dovl@codeaurora.org>2015-07-14 14:10:57 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:05 -0700
commitd25b9c4733136c2f14d2fe2a1c130869e01f76a1 (patch)
tree5f6a35ff37c3a8024b77f7bea0d4cd714c16ddab /include
parent8ee51daf1c95730aefbc700d51abd147c4fac435 (diff)
mmc: core: set MMC_PM_KEEP_POWER for certain Hynix mmc cards
Certain Hynix eMMC 5.0 cards might reach a fast EOL if the card's power is disabled between CMD5 and CMD0 (power off during reset). This patch sets the MMC_PM_KEEP_POWER flag to indicate that the card's power should be retained for suspend/resume sequences. Change-Id: I4bcc0f4bfd608745626816ca261369b432602c45 Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index c8faf8b146ee..ce2a0aa79425 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -472,6 +472,7 @@ struct mmc_fixup {
#define CID_MANFID_MICRON 0x13
#define CID_MANFID_SAMSUNG 0x15
#define CID_MANFID_KINGSTON 0x70
+#define CID_MANFID_HYNIX 0x90
#define CID_MANFID_ANY (-1u)
#define CID_OEMID_ANY ((unsigned short) -1)