summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/card.h6
-rw-r--r--include/linux/mmc/host.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index 2574e8af91fe..5ee1a379b82b 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -335,6 +335,8 @@ enum mmc_pon_type {
MMC_SHRT_PON,
};
+#define MMC_QUIRK_CMDQ_DELAY_BEFORE_DCMD 6 /* microseconds */
+
/*
* MMC device
*/
@@ -388,8 +390,8 @@ struct mmc_card {
#define MMC_QUIRK_QCA9377_SETTINGS (1 << 16) /* QCA9377 card settings*/
-/* Make sure CMDQ is empty before queuing cache flush */
-#define MMC_QUIRK_CMDQ_EMPTY_BEFORE_FLUSH (1 << 17)
+/* Make sure CMDQ is empty before queuing DCMD */
+#define MMC_QUIRK_CMDQ_EMPTY_BEFORE_DCMD (1 << 17)
unsigned int erase_size; /* erase size in sectors */
unsigned int erase_shift; /* if erase unit is power 2 */
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 959713837423..6dd6add52d64 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -260,6 +260,7 @@ struct mmc_cmdq_context_info {
#define CMDQ_STATE_HALT 2
wait_queue_head_t queue_empty_wq;
wait_queue_head_t wait;
+ int active_small_sector_read_reqs;
};
/**