diff options
author | Silesh C V <silesh@ti.com> | 2011-07-05 06:38:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-05 06:38:23 -0400 |
commit | 27a69d709e63efc23df18cc411fa341749de750e (patch) | |
tree | 0607f75e69e5e8d870cc1b315ab91ba76ef65063 /arch/arm/mach-omap2/board-4430sdp.c | |
parent | c31469747854a1f1dcfd81a8fb1d9865c3ee58b9 (diff) |
omap: 4430SDP: Register the card detect GPIO properly
Without this the HSMMC driver takes GPIO 0 to be the card detect gpio
and requests/configures it. This will give rise to issues when another
driver needs to use GPIO 0. On 4430SDP, the card detection is through
TWL 6030.
Signed-off-by: Silesh C V <silesh@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index d7df07ef2cea..5e03ddb0eb17 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -323,6 +323,7 @@ static struct omap2_hsmmc_info mmc[] = { | |||
323 | { | 323 | { |
324 | .mmc = 1, | 324 | .mmc = 1, |
325 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | 325 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, |
326 | .gpio_cd = -EINVAL, | ||
326 | .gpio_wp = -EINVAL, | 327 | .gpio_wp = -EINVAL, |
327 | }, | 328 | }, |
328 | {} /* Terminator */ | 329 | {} /* Terminator */ |