diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-06-14 18:15:24 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-06-14 18:15:24 +0800 |
commit | 406c86f11f0b62d640c5aa47a56faf81c4cf8540 (patch) | |
tree | 6c68d87a2e72f8e045eea33a5813273d107d79ae /arch/arm/mach-pxa/corgi.c | |
parent | cdb4acc0568f4f6e10e778f0c2cd04fcd4786c09 (diff) | |
download | linux-3.10-406c86f11f0b62d640c5aa47a56faf81c4cf8540.tar.gz linux-3.10-406c86f11f0b62d640c5aa47a56faf81c4cf8540.tar.bz2 linux-3.10-406c86f11f0b62d640c5aa47a56faf81c4cf8540.zip |
[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>
Diffstat (limited to 'arch/arm/mach-pxa/corgi.c')
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 3d1dcb9ac08..51ffa6afb67 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c @@ -446,7 +446,7 @@ static struct platform_device corgiled_device = { static struct pxamci_platform_data corgi_mci_platform_data = { .detect_delay_ms = 250, .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, - .gpio_card_detect = -1, + .gpio_card_detect = CORGI_GPIO_nSD_DETECT, .gpio_card_ro = CORGI_GPIO_nSD_WP, .gpio_power = CORGI_GPIO_SD_PWR, }; |