diff options
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/init_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/init_common.c b/arch/arm/mach-tegra/init_common.c index 32746e5e4d50..6e11a4de803e 100644 --- a/arch/arm/mach-tegra/init_common.c +++ b/arch/arm/mach-tegra/init_common.c @@ -360,7 +360,7 @@ static void __init tegra_register_i2c(void) I2cData.IoModuleID = OdmModules[i]; I2cData.Instance = j; I2cData.PinMuxConfig = - (ToAdd==1) ? 0 : (NvOdmI2cPinMap_Config1 + k); + (ToAdd==1) ? pPinMuxes[j] : (NvOdmI2cPinMap_Config1 + k); // FIXME: Always defaulting to 100KHz for now. I2cData.ClockInKHz = 100; if (platform_device_add_data(pDev, &I2cData, sizeof(I2cData))) |