mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Bangkok modify for focal to no touch
some focaltech tp no touch : modify timing of iovcc and vdd,first vdd,the second is iovcc.and issue is already fixed. Change-Id: I8170cb474d84c50ab068fecfda88679419710f5e Reviewed-on: https://gerrit.mot.com/2554227 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
b115dc9ae5
commit
f6c3a009e1
1 changed files with 4 additions and 7 deletions
|
|
@ -1532,6 +1532,10 @@ int fts_power_source_ctrl(struct fts_ts_data *ts_data, int enable)
|
|||
FTS_ERROR("enable vdd regulator failed,ret=%d", ret);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FTS_VDD_GPIO_CONTROL
|
||||
fts_vdd_gpio_configure(ts_data);
|
||||
#endif
|
||||
|
||||
if (!IS_ERR_OR_NULL(ts_data->vcc_i2c)) {
|
||||
ret = regulator_enable(ts_data->vcc_i2c);
|
||||
if (ret) {
|
||||
|
|
@ -1539,13 +1543,6 @@ int fts_power_source_ctrl(struct fts_ts_data *ts_data, int enable)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_FTS_VDD_GPIO_CONTROL
|
||||
msleep(5);
|
||||
fts_vdd_gpio_configure(ts_data);
|
||||
msleep(3);
|
||||
#endif
|
||||
|
||||
#if FTS_PINCTRL_EN
|
||||
fts_pinctrl_select_normal(ts_data);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue