]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Disable second I2C on H4
authorTony Lindgren <tony@atomide.com>
Fri, 28 Oct 2005 17:18:39 +0000 (10:18 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Oct 2005 17:18:39 +0000 (10:18 -0700)
It does not seem to be respond at all?

arch/arm/mach-omap2/devices.c

index f3d9e1bb8352f45a574155faf551e993e369b696..1cf70d382762f028ad6f641cd35c9b989f9c1fef 100644 (file)
@@ -59,6 +59,10 @@ static struct platform_device omap_i2c_device2 = {
 /* See also arch/arm/plat-omap/devices.c for first I2C on 24xx */
 static void omap_init_i2c(void)
 {
+       /* REVISIT: Second I2C not in use on H4? */
+       if (machine_is_omap_h4())
+               return;
+
        omap_cfg_reg(J15_24XX_I2C2_SCL);
        omap_cfg_reg(H19_24XX_I2C2_SDA);
        (void) platform_device_register(&omap_i2c_device2);