summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-11-24 12:04:42 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2016-12-05 10:31:17 +0100
commite6cd7a8ea1c3efe412e6b9e900b635ea29764f70 (patch)
treee7c367f00c539716b42b45662a3950afd13ea1fa /drivers/mmc/host/dw_mmc.h
parentmmc: dw_mmc: add the debug message for polling and non-removable (diff)
downloadlinux-e6cd7a8ea1c3efe412e6b9e900b635ea29764f70.tar.xz
linux-e6cd7a8ea1c3efe412e6b9e900b635ea29764f70.zip
mmc: dw_mmc: display the clock message only one time when card is polling
When card is polling (broken-cd), there is a spamming messge related to clock. After applied this patch, display the message only one time at boot time. It's enough to check which clock values is used. Also prevent to display the spamming message. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
-rw-r--r--drivers/mmc/host/dw_mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 4a6ae750feeb..c59465829387 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -272,6 +272,7 @@ struct dw_mci_slot {
#define DW_MMC_CARD_NEED_INIT 1
#define DW_MMC_CARD_NO_LOW_PWR 2
#define DW_MMC_CARD_NO_USE_HOLD 3
+#define DW_MMC_CARD_NEEDS_POLL 4
int id;
int sdio_id;
};