summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorVenkata (Muni) Anda <vanda@nvidia.com>2010-06-24 13:54:09 -0700
committerGary King <gking@nvidia.com>2010-06-28 10:22:19 -0700
commit83157cc2e60c892ebe3933e2d14d1ef296ffc530 (patch)
treef60a095406a850702102a43995a072cef983e23f /arch/arm
parent7a650b7db3dcf8f34bb9903c97acc9c803ead635 (diff)
tegra: I2C clock fix.
Use the correct clock specified for that instance. Change-Id: I15e94e65c21a65ca82a23d804c2af120b0c16e51 Reviewed-on: http://git-master/r/3156 Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com> Tested-by: Venkata (Muni) Anda <vanda@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-tegra/board-nvodm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c
index 68107e4d1614..4980146b58a9 100644
--- a/arch/arm/mach-tegra/board-nvodm.c
+++ b/arch/arm/mach-tegra/board-nvodm.c
@@ -1325,7 +1325,7 @@ static noinline void __init tegra_setup_i2c(void)
clk = (odm_clk_i2cp_nr) ? odm_clk_i2cp[0] : 100;
} else if (dev->id < odm_mux_i2c_nr) {
mux = odm_mux_i2c[dev->id];
- clk = (dev->id < odm_clk_i2c_nr) ? odm_clk_i2c[0] : 100;
+ clk = (dev->id < odm_clk_i2c_nr) ? odm_clk_i2c[dev->id] : 100;
} else {
mux = 0;
clk = 0;