mmc: sdhci-of-esdhc: disable CMD23 for some Freescale SoCs
authorJerry Huang <Chang-Ming.Huang@freescale.com>
Thu, 25 Oct 2012 05:47:19 +0000 (13:47 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 7 Nov 2012 19:55:29 +0000 (14:55 -0500)
commit63ef5d8c28b2a944f104d854254941e7375c85a3
treef4102bfc4ab13f0ec07d28a635170373160e522d
parent00956ea360c3825ac9fd337758e07e193f66d1d9
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>
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mmc/host/sdhci-pltfm.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h
include/linux/mmc/sdhci.h