summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorCarlo Caione2015-11-25 15:39:51 +0100
committerUlf Hansson2015-12-22 11:32:13 +0100
commit100a606d54a087cfec54efbedba72f36e5a9cdf0 (patch)
tree81fab69739528e973b3197c6114fb1da7d2cae91 /include/linux/mmc
parentmmc: mvsdio: delete platform data code path (diff)
downloadkernel-qcow2-linux-100a606d54a087cfec54efbedba72f36e5a9cdf0.tar.gz
kernel-qcow2-linux-100a606d54a087cfec54efbedba72f36e5a9cdf0.tar.xz
kernel-qcow2-linux-100a606d54a087cfec54efbedba72f36e5a9cdf0.zip
mmc: core: Introduce MMC_CAP2_NO_SDIO cap
This patch introduce a new MMC_CAP2_NO_SDIO cap used to tell the mmc core to not send SDIO specific commands. Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index f39888cf5017..8dd4d290ab0d 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -290,6 +290,7 @@ struct mmc_host {
#define MMC_CAP2_HSX00_1_2V (MMC_CAP2_HS200_1_2V_SDR | MMC_CAP2_HS400_1_2V)
#define MMC_CAP2_SDIO_IRQ_NOTHREAD (1 << 17)
#define MMC_CAP2_NO_WRITE_PROTECT (1 << 18) /* No physical write protect pin, assume that card is always read-write */
+#define MMC_CAP2_NO_SDIO (1 << 19) /* Do not send SDIO commands during initialization */
mmc_pm_flag_t pm_caps; /* supported pm features */