mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Fix fail loading CLI touch limit file sometimes
Ensure get panel supplier name before access module execting probe,so test limit file can be found correctly. Change-Id: Ib7af4867dbaefbef45d2662dd321824ebccaea4d Signed-off-by: zhuwg1 <zhuwg1@motorola.com> Reviewed-on: https://gerrit.mot.com/2237330 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
0c587df2a6
commit
904e5eda78
1 changed files with 3 additions and 3 deletions
|
|
@ -6929,9 +6929,6 @@ int cyttsp5_probe(const struct cyttsp5_bus_ops *ops, struct device *dev,
|
|||
goto error_startup_btn;
|
||||
}
|
||||
|
||||
/* Probe registered modules */
|
||||
cyttsp5_probe_modules(cd);
|
||||
|
||||
#ifdef CONFIG_INPUT_TOUCHSCREEN_MMI
|
||||
dev_info(dev, "%s:cyttsp5_ts_mmi_dev_register",__func__);
|
||||
rc = cyttsp5_ts_mmi_dev_register(dev);
|
||||
|
|
@ -6941,6 +6938,9 @@ int cyttsp5_probe(const struct cyttsp5_bus_ops *ops, struct device *dev,
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Probe registered modules */
|
||||
cyttsp5_probe_modules(cd);
|
||||
|
||||
#if defined (CYTTSP5_SENSOR_EN)
|
||||
if (!initialized_sensor) {
|
||||
if (!cyttsp5_sensor_init(cd))
|
||||
|
|
|
|||
Loading…
Reference in a new issue