diff options
author | Jerry Huang <Chang-Ming.Huang@freescale.com> | 2012-10-25 07:47:19 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-11-07 20:55:29 +0100 |
commit | 63ef5d8c28b2a944f104d854254941e7375c85a3 (patch) | |
tree | f4102bfc4ab13f0ec07d28a635170373160e522d /include | |
parent | mmc: dw_mmc: remove _dev_info compile warning (diff) | |
download | linux-63ef5d8c28b2a944f104d854254941e7375c85a3.tar.xz linux-63ef5d8c28b2a944f104d854254941e7375c85a3.zip |
mmc: sdhci-of-esdhc: disable CMD23 for some Freescale SoCs
CMD23 causes lots of errors in kernel on some freescale SoCs
(P1020, P1021, P1022, P1024, P1025 and P4080) when MMC card used,
which is because these controllers does not support CMD23,
even on the SoCs which declares CMD23 is supported.
Therefore, we'll not use CMD23.
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index fa8529a859b8..1edcb4dad8c4 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -91,6 +91,7 @@ struct sdhci_host { unsigned int quirks2; /* More deviations from spec. */ #define SDHCI_QUIRK2_HOST_OFF_CARD_ON (1<<0) +#define SDHCI_QUIRK2_HOST_NO_CMD23 (1<<1) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ |