msm: pm2: update GDFS_CNT val to 0x2

The default GDFS_CNT_VAL(0xFF) might cause more time for
voltage to get stable while coming out of GDFS.
Use the recommended value 0x2 instead of 0xFF.

CRs-Fixed: 359968
Change-Id: I083d3b56c7f0c343230cff04654e39ea7eed107f
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm2.c b/arch/arm/mach-msm/pm2.c
index 6a02609..4a5078e 100644
--- a/arch/arm/mach-msm/pm2.c
+++ b/arch/arm/mach-msm/pm2.c
@@ -1952,11 +1952,14 @@
 		clean_caches((unsigned long)&target_type, sizeof(target_type),
 				virt_to_phys(&target_type));
 
-		/* Override the DBGNOPOWERDN for each cpu in
-		 * MPA5_GDFS_CNT_VAL register
+		/*
+		 * Configure the MPA5_GDFS_CNT_VAL register for
+		 * DBGPWRUPEREQ_OVERRIDE[17:16] = Override the
+		 * DBGNOPOWERDN for each cpu.
+		 * MPA5_GDFS_CNT_VAL[9:0] = Delay counter for
+		 * GDFS control.
 		 */
-		val = __raw_readl((MSM_CFG_CTL_BASE + 0x38));
-		val = val | 0x00030000;
+		val = 0x00030002;
 		__raw_writel(val, (MSM_CFG_CTL_BASE + 0x38));
 	}