msm: Pass proper touchscreen firmware version
Pass the proper firmware version as part of pdata
for cypress tma controller chips used on 7x30 and
8960.
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c
index 2d2ecf6..e605afa 100644
--- a/arch/arm/mach-msm/board-msm7x30.c
+++ b/arch/arm/mach-msm/board-msm7x30.c
@@ -419,6 +419,7 @@
.sleep_gpio = -1,
.resout_gpio = -1,
.irq_gpio = CYTTSP_TS_GPIO_IRQ,
+ .correct_fw_ver = 2,
};
static int pm8058_pwm_config(struct pwm_device *pwm, int ch, int on)
diff --git a/arch/arm/mach-msm/board-msm8960.c b/arch/arm/mach-msm/board-msm8960.c
index 2cadfbf..fe10c97 100644
--- a/arch/arm/mach-msm/board-msm8960.c
+++ b/arch/arm/mach-msm/board-msm8960.c
@@ -2535,6 +2535,7 @@
.regulator_info = regulator_data,
.num_regulators = ARRAY_SIZE(regulator_data),
.init = cyttsp_platform_init,
+ .correct_fw_ver = 9,
};
static struct i2c_board_info cyttsp_info[] __initdata = {