diff options
-rw-r--r-- | arch/arm/mach-mxs/mach-mx23evk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/mach-mx28evk.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mxs/mach-mx23evk.c b/arch/arm/mach-mxs/mach-mx23evk.c index 214e5b641bbc..3c2de33803ab 100644 --- a/arch/arm/mach-mxs/mach-mx23evk.c +++ b/arch/arm/mach-mxs/mach-mx23evk.c | |||
@@ -148,7 +148,7 @@ static void __init mx23evk_init(void) | |||
148 | mx23_add_auart0(); | 148 | mx23_add_auart0(); |
149 | 149 | ||
150 | /* power on mmc slot by writing 0 to the gpio */ | 150 | /* power on mmc slot by writing 0 to the gpio */ |
151 | ret = gpio_request_one(MX23EVK_MMC0_SLOT_POWER, GPIOF_DIR_OUT, | 151 | ret = gpio_request_one(MX23EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW, |
152 | "mmc0-slot-power"); | 152 | "mmc0-slot-power"); |
153 | if (ret) | 153 | if (ret) |
154 | pr_warn("failed to request gpio mmc0-slot-power: %d\n", ret); | 154 | pr_warn("failed to request gpio mmc0-slot-power: %d\n", ret); |
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c index bb329b9a2608..eacdc6b0e70a 100644 --- a/arch/arm/mach-mxs/mach-mx28evk.c +++ b/arch/arm/mach-mxs/mach-mx28evk.c | |||
@@ -375,13 +375,13 @@ static void __init mx28evk_init(void) | |||
375 | mx28_add_mxsfb(&mx28evk_mxsfb_pdata); | 375 | mx28_add_mxsfb(&mx28evk_mxsfb_pdata); |
376 | 376 | ||
377 | /* power on mmc slot by writing 0 to the gpio */ | 377 | /* power on mmc slot by writing 0 to the gpio */ |
378 | ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_DIR_OUT, | 378 | ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW, |
379 | "mmc0-slot-power"); | 379 | "mmc0-slot-power"); |
380 | if (ret) | 380 | if (ret) |
381 | pr_warn("failed to request gpio mmc0-slot-power: %d\n", ret); | 381 | pr_warn("failed to request gpio mmc0-slot-power: %d\n", ret); |
382 | mx28_add_mxs_mmc(0, &mx28evk_mmc_pdata[0]); | 382 | mx28_add_mxs_mmc(0, &mx28evk_mmc_pdata[0]); |
383 | 383 | ||
384 | ret = gpio_request_one(MX28EVK_MMC1_SLOT_POWER, GPIOF_DIR_OUT, | 384 | ret = gpio_request_one(MX28EVK_MMC1_SLOT_POWER, GPIOF_OUT_INIT_LOW, |
385 | "mmc1-slot-power"); | 385 | "mmc1-slot-power"); |
386 | if (ret) | 386 | if (ret) |
387 | pr_warn("failed to request gpio mmc1-slot-power: %d\n", ret); | 387 | pr_warn("failed to request gpio mmc1-slot-power: %d\n", ret); |