AM335X: Avoid i2c pin mux setup.
[sitara-epos/sitara-epos-kernel.git] / arch / arm / plat-omap / i2c.c
index 6cddde2007539d48698fe29db77f658e1dac699b..b7fccc85a7ddcf24a27e3400dd4df4580ec421a8 100644 (file)
@@ -148,7 +148,8 @@ static inline int omap2_i2c_add_bus(int bus_id)
        struct omap_i2c_bus_platform_data *pdata;
        struct omap_i2c_dev_attr *dev_attr;
 
-       omap2_i2c_mux_pins(bus_id);
+       if (!cpu_is_am33xx())
+               omap2_i2c_mux_pins(bus_id);
 
        l = snprintf(oh_name, MAX_OMAP_I2C_HWMOD_NAME_LEN, "i2c%d", bus_id);
        WARN(l >= MAX_OMAP_I2C_HWMOD_NAME_LEN,