Skip to contentSkip to conversation

OMAP2: Devkit8000: Remove double omap_mux_init_gpio

PATCH In review Thomas Weber 2 participants 2 messages Sep 6, 2011 – Oct 6, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP2: 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.

---
 arch/arm/mach-omap2/board-devkit8000.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-devkit8000.c +0 -1
index f15f2a2..029c08a 100644
@@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
 {
 	int ret;
 
-	omap_mux_init_gpio(29, OMAP_PIN_INPUT);
 	/* gpio + 0 is "mmc0_cd" (input/IRQ) */
 	mmc[0].gpio_cd = gpio + 0;
 	omap2_hsmmc_init(mmc);
Signature · 1 line
1.7.6.1
maintainer
#1 lore raw
Quoted 3 lines · Thomas Weber

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.

Thanks, adding this into fixes-part2 branch.

Tony