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: Thomas Weber <weber@corscience.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
0eb3c0f5a4
commit
e9614f35ba
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue