summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/dw_mmc.h
diff options
context:
space:
mode:
authorShawn Lin2016-01-21 07:52:52 +0100
committerUlf Hansson2016-02-29 11:03:10 +0100
commite8cc37b8fc3a94d17a2689cd77a7744d70477c14 (patch)
treedc5224ec6c0f10655f334d9d8a486f4936b2c774 /include/linux/mmc/dw_mmc.h
parentmmc: dw_mmc: remove struct block_settings (diff)
downloadkernel-qcow2-linux-e8cc37b8fc3a94d17a2689cd77a7744d70477c14.tar.gz
kernel-qcow2-linux-e8cc37b8fc3a94d17a2689cd77a7744d70477c14.tar.xz
kernel-qcow2-linux-e8cc37b8fc3a94d17a2689cd77a7744d70477c14.zip
mmc: dw_mmc: remove DW_MCI_QUIRK_BROKEN_CARD_DETECTION quirk
dw_mmc already use mmc_of_parse to get "broken-cd" property, but it considered "broken-cd" to be a quirk in its driver. We don't need this quirk here, and just take what we need from mmc->caps. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/dw_mmc.h')
-rw-r--r--include/linux/mmc/dw_mmc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
index e1f90b80b77a..7b41c6db1bb6 100644
--- a/include/linux/mmc/dw_mmc.h
+++ b/include/linux/mmc/dw_mmc.h
@@ -235,10 +235,8 @@ struct dw_mci_dma_ops {
};
/* IP Quirks/flags. */
-/* Unreliable card detection */
-#define DW_MCI_QUIRK_BROKEN_CARD_DETECTION BIT(0)
/* Timer for broken data transfer over scheme */
-#define DW_MCI_QUIRK_BROKEN_DTO BIT(1)
+#define DW_MCI_QUIRK_BROKEN_DTO BIT(0)
struct dma_pdata;