summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/corgi.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-06-14 18:15:24 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-06-14 18:15:24 +0800
commit406c86f11f0b62d640c5aa47a56faf81c4cf8540 (patch)
tree6c68d87a2e72f8e045eea33a5813273d107d79ae /arch/arm/mach-pxa/corgi.c
parentcdb4acc0568f4f6e10e778f0c2cd04fcd4786c09 (diff)
downloadblackbird-op-linux-406c86f11f0b62d640c5aa47a56faf81c4cf8540.tar.gz
blackbird-op-linux-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 3d1dcb9ac08f..51ffa6afb675 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,
};
OpenPOWER on IntegriCloud