msm: charm: Always set GPIO to the documented value
Early versions of charm SURFs required AP2MDM_KPDPWR be
set to 0 to power on the external modem. This was changed with
later hardware versions which require that AP2MDM_KPDPWR be set
to 1 to power on the external modem. The old hardware is no
longer used, so drop support for it and always set AP2MDM_KPDPWR
to 1 for powering on.
CRs-Fixed: 298499
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm8x60.c b/arch/arm/mach-msm/devices-msm8x60.c
index 21f8ce4..41fbabe 100644
--- a/arch/arm/mach-msm/devices-msm8x60.c
+++ b/arch/arm/mach-msm/devices-msm8x60.c
@@ -98,10 +98,7 @@
static void charm_ap2mdm_kpdpwr_on(void)
{
gpio_direction_output(AP2MDM_PMIC_RESET_N, 0);
- if (machine_is_msm8x60_fusion())
- gpio_direction_output(AP2MDM_KPDPWR_N, 0);
- else
- gpio_direction_output(AP2MDM_KPDPWR_N, 1);
+ gpio_direction_output(AP2MDM_KPDPWR_N, 1);
}
static void charm_ap2mdm_kpdpwr_off(void)