qup_i2c: keep the ahb clock on for SGLTE 8960 only

Don't keep the AHB clock on for all types of 8960 targets
as the GSBI4 is shared by I2C and UART cores from different
processors on only SGLTE 8960 type platform. If the ahb clock
is kept on for GSBI4 from apps side, this needs a change in UART
driver on modem side to avoid touching the ahb clock and may
lead to some i2c errors if the modem doesn't have this change.
Hence we are keeping the ahb clock on for only SGLTE 8960 target
type.

CRs-fixed: 387908
Change-Id: If032d48a2cc0c9a9658359f05fe054d2e1f758c4
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8960.c b/arch/arm/mach-msm/board-8960.c
index 547b724..9840440 100644
--- a/arch/arm/mach-msm/board-8960.c
+++ b/arch/arm/mach-msm/board-8960.c
@@ -2362,7 +2362,6 @@
 static struct msm_i2c_platform_data msm8960_i2c_qup_gsbi4_pdata = {
 	.clk_freq = 100000,
 	.src_clk_rate = 24000000,
-	.keep_ahb_clk_on = 1,
 };
 
 static struct msm_i2c_platform_data msm8960_i2c_qup_gsbi3_pdata = {
@@ -2775,6 +2774,9 @@
 
 static void __init msm8960_i2c_init(void)
 {
+	if (socinfo_get_platform_subtype() == PLATFORM_SUBTYPE_SGLTE)
+		msm8960_i2c_qup_gsbi4_pdata.keep_ahb_clk_on = 1;
+
 	msm8960_device_qup_i2c_gsbi4.dev.platform_data =
 					&msm8960_i2c_qup_gsbi4_pdata;