arm: tegra: cardhu: always enable clock for i2c2
Pradeep Goudagunta [Thu, 17 Feb 2011 11:50:29 +0000 (16:50 +0530)]
Touch is interfaced with the i2c2 and to support fast
response, always enabling clock for i2c2.

Bug 787797

Original-Change-Id: I1a398b87051cb5db2a2f93cd57bd408a80a24553
Reviewed-on: http://git-master/r/19883
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Original-Change-Id: I0bcd56a2b61ea73d78f9544c1869f1e382f5e9fe

Rebase-Id: R1d0394c2d336442c98708fe58b14eb40f4b32963

arch/arm/mach-tegra/board-cardhu.c

index ac37375..514cd73 100644 (file)
@@ -166,6 +166,7 @@ static struct tegra_i2c_platform_data cardhu_i2c2_platform_data = {
        .adapter_nr     = 1,
        .bus_count      = 1,
        .bus_clk_rate   = { 100000, 0 },
+       .is_clkon_always = true,
 };
 
 static struct tegra_i2c_platform_data cardhu_i2c3_platform_data = {