Skip to content

Commit 406c86f

Browse files
committed
[ARM] pxa/corgi: fix MMC/SD card detection failure
Reported-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
1 parent cdb4acc commit 406c86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-pxa/corgi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ static struct platform_device corgiled_device = {
446446
static struct pxamci_platform_data corgi_mci_platform_data = {
447447
.detect_delay_ms = 250,
448448
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
449-
.gpio_card_detect = -1,
449+
.gpio_card_detect = CORGI_GPIO_nSD_DETECT,
450450
.gpio_card_ro = CORGI_GPIO_nSD_WP,
451451
.gpio_power = CORGI_GPIO_SD_PWR,
452452
};

0 commit comments

Comments
 (0)