]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/hsmmc.c
twl4030-gpio: pullup/pulldown init
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / hsmmc.c
index cc67a1dd4b190cb8f116baf9810056b56bc202e9..c6ff49010244cda6038ee026dcea5360e8541681 100644 (file)
@@ -27,7 +27,6 @@
 #define VMMC1_DEDICATED                0x2A
 #define VSEL_3V                        0x02
 #define VSEL_18V               0x00
-#define TWL_GPIO_PUPDCTR1      0x13
 #define TWL_GPIO_IMR1A         0x1C
 #define TWL_GPIO_ISR1A         0x19
 #define LDO_CLR                        0x00
@@ -65,11 +64,6 @@ static int hsmmc_late_init(struct device *dev)
        if (ret)
                goto err;
 
-       ret = twl4030_i2c_write_u8(TWL4030_MODULE_GPIO, 0x02,
-                                               TWL_GPIO_PUPDCTR1);
-       if (ret)
-               goto err;
-
        ret = twl4030_set_gpio_debounce(MMC1_CD_IRQ, TWL4030_GPIO_IS_ENABLE);
        if (ret)
                goto err;