summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJianzheng Zhou <jianzheng.zhou@freescale.com>2013-03-28 16:18:19 +0800
committerJianzheng Zhou <jianzheng.zhou@freescale.com>2013-03-28 16:29:05 +0800
commitba63d5add27545f85b1031146ce1fa4c3601f861 (patch)
tree62a01c5727941a4efe4ad4d6a22dc417b0ba9112 /arch
parent6f0460d8221f70d1a6c6152cfddf9ddc0fa9bf9d (diff)
ENGR00255305 Sabreauto:refactor sd config
Add "MMC_CAP_REMOVABLE" and "runtime_pm" to support hot-plug and trigger bus scan after resuming from suspend.Otherwise, sdio wifi won't work well. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index a5b6cc6c1cc3..1d54e2c1037d 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -290,12 +290,16 @@ static const struct esdhc_platform_data mx6q_sabreauto_sd3_data __initconst = {
.support_8bit = 1,
.delay_line = 0,
.platform_pad_change = plt_sd_pad_change,
+ .cd_type = ESDHC_CD_CONTROLLER,
+ .runtime_pm = 1,
};
static const struct esdhc_platform_data mx6q_sabreauto_sd1_data __initconst = {
.cd_gpio = SABREAUTO_SD1_CD,
.wp_gpio = SABREAUTO_SD1_WP,
.keep_power_at_suspend = 1,
+ .cd_type = ESDHC_CD_CONTROLLER,
+ .runtime_pm = 1,
};