summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTalel Shenhar <tatias@codeaurora.org>2015-02-04 17:59:23 +0200
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:11 -0700
commit4a897cf6aa31fbb9e81dab20ac5f73515499b89d (patch)
tree32f2b169a028133a639b7094f17028eba92c8674 /include/linux
parent96c1215f259dc55a463dd0094a61f86798358f5a (diff)
mmc: quirks: add new quirk that allows Cache disable
This change allows us to prevent cache enable for certain cards that have broken cache functionality. Change-Id: Iea3f8c8f4e5498a8742fa408a19e3e169d1fa8cb Signed-off-by: Talel Shenhar <tatias@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
-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 4cab91c56616..c3e6fbfbcfab 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -308,6 +308,7 @@ struct mmc_card {
#define MMC_QUIRK_INAND_DATA_TIMEOUT (1<<13) /* For incorrect data timeout */
#define MMC_QUIRK_BROKEN_HPI (1 << 14) /* For devices which gets */
/* broken due to HPI feature */
+#define MMC_QUIRK_CACHE_DISABLE (1 << 14) /* prevent cache enable */
unsigned int erase_size; /* erase size in sectors */