msm: 8064: Disable write-protect for MTP/LIQUID
Micro SD cards used on MTP and LIQUID do not have
Write-protect switch defined. Ensure write-protect
option exists only on CDP.
Change-Id: I4a2e4a0cc098b006e87a26eaf3c6e1b3136179ec
Signed-off-by: Oluwafemi Adeyemi <aadeyemi@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064-pmic.c b/arch/arm/mach-msm/board-8064-pmic.c
index 75160ef..4b4f32a 100644
--- a/arch/arm/mach-msm/board-8064-pmic.c
+++ b/arch/arm/mach-msm/board-8064-pmic.c
@@ -125,7 +125,6 @@
PM8921_GPIO_INPUT(38, PM_GPIO_PULL_UP_1P5),
/* TABLA CODEC RESET */
PM8921_GPIO_OUTPUT(34, 1, MED),
- PM8921_GPIO_INPUT(17, PM_GPIO_PULL_UP_1P5), /* SD_WP */
};
static struct pm8xxx_gpio_init pm8921_mtp_kp_gpios[] __initdata = {
@@ -136,6 +135,7 @@
static struct pm8xxx_gpio_init pm8921_cdp_kp_gpios[] __initdata = {
PM8921_GPIO_INPUT(37, PM_GPIO_PULL_UP_1P5),
PM8921_GPIO_INPUT(42, PM_GPIO_PULL_UP_1P5),
+ PM8921_GPIO_INPUT(17, PM_GPIO_PULL_UP_1P5), /* SD_WP */
};
/* Initial PM8XXX MPP configurations */