]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Enable 4-bit in HSMMC1 and HSMMC2 platform data
authorMadhusudhan Chikkature <madhu.cr@ti.com>
Wed, 13 Aug 2008 06:13:30 +0000 (11:43 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Sep 2008 23:56:29 +0000 (16:56 -0700)
ARM: OMAP3: Enable 4-bit support for HSMMC.

This patch provides the fix to enable 4-bit support for HSMMC.

Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Signed-off-by: purushotam<purushotam@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/devices.c

index 3bd1da287119277176bfd5865eabf201f269a20f..aa1299faaf3c490e6da54212a0f94d10eda46818 100644 (file)
@@ -289,13 +289,17 @@ static void __init omap_init_mmc(void)
        mmc = &mmc_conf->mmc[0];
 
        if (cpu_is_omap2430() || cpu_is_omap34xx()) {
-               if (mmc->enabled)
+               if (mmc->enabled) {
+                       mmc1_data.conf = *mmc;
                        (void) platform_device_register(&mmc_omap_device1);
+               }
 
 #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX)
                mmc = &mmc_conf->mmc[1];
-               if (mmc->enabled)
+               if (mmc->enabled) {
+                       mmc2_data.conf = *mmc;
                        (void) platform_device_register(&mmc_omap_device2);
+               }
 #endif
 
                return;