board: msm7x27a: Correct the operating voltage range.

As per the PMIC team right operating voltage range is 3.2 to 4.2V.
So correcting the voltage range to this. The Android framework pops
up low battery warning at 14% of the remaining baterry capacity.
With this new range 14% would be at 3.34V. So fill this voltage in
fail_safe_voltage in the board file so that target wakes up incase
it reaches this voltage when its asleep.

Change-Id: Iaac840578927bd14b685ddb841e2cd20d3772197
CRs-Fixed: 366506
Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index 9ec618d..951fadc 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -635,8 +635,9 @@
 static u32 msm_calculate_batt_capacity(u32 current_voltage);
 
 static struct msm_psy_batt_pdata msm_psy_batt_data = {
-	.voltage_min_design     = 2800,
-	.voltage_max_design     = 4300,
+	.voltage_min_design     = 3200,
+	.voltage_max_design     = 4200,
+	.voltage_fail_safe      = 3340,
 	.avail_chg_sources      = AC_CHG | USB_CHG ,
 	.batt_technology        = POWER_SUPPLY_TECHNOLOGY_LION,
 	.calculate_capacity     = &msm_calculate_batt_capacity,