summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTalel Shenhar <tatias@codeaurora.org>2015-02-05 14:44:15 +0200
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:10 -0700
commita89dfb1bbd09b7625eca50ce02448a517c7156c6 (patch)
tree5246b031e95233b17471f8856e2a094981c52b89 /include/linux
parentd3254ba7a0f2956dd9da87d575ad83a8b9914b15 (diff)
mmc: quirks: add new quirk that allows HPI disable
Certain cards might get broken when HPI feature is used. This patch allows host to avoid using HPI for such buggy cards by adding new quirk. As some of the other features like BKOPs/Cache are dependent on HPI feature, those features would also get disabled if HPI is disabled. Change-Id: I93a8810e4031eafcd44b5152296e065dc3330b63 Signed-off-by: Talel Shenhar <tatias@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index a9c756549c2f..a16fd1739371 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -306,6 +306,8 @@ struct mmc_card {
#define MMC_QUIRK_TRIM_BROKEN (1<<12) /* Skip trim */
/* byte mode */
#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 */
unsigned int erase_size; /* erase size in sectors */