Commit e9614f35 authored by Thomas Weber's avatar Thomas Weber Committed by Tony Lindgren

ARM: OMAP: Devkit8000: Remove double omap_mux_init_gpio

Remove the init of card detect pin because
omap_mux_init_gpio() is called during hsmmc initialization
for the write protect and card detect pin.
Signed-off-by: default avatarThomas Weber <weber@corscience.de>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0eb3c0f5
...@@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev, ...@@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
{ {
int ret; int ret;
omap_mux_init_gpio(29, OMAP_PIN_INPUT);
/* gpio + 0 is "mmc0_cd" (input/IRQ) */ /* gpio + 0 is "mmc0_cd" (input/IRQ) */
mmc[0].gpio_cd = gpio + 0; mmc[0].gpio_cd = gpio + 0;
omap2_hsmmc_init(mmc); omap2_hsmmc_init(mmc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment