Solve the power on problem of Synaptics touchscreen

TP:
Modify the power on process of synaptics touchscreen to solve
the problem of power failure.

Change-Id: I8963e3db920de3830b81eb95611cce1696ac111f
Reviewed-on: https://gerrit.mot.com/1496299
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong 2020-02-11 12:25:40 +08:00 • committed by litong20
commit 2157f5c85e

View file

@ -337,7 +337,7 @@ exit:
return retval;
}
static int syna_ts_mmi_pre_resume(struct device *dev)
static int syna_ts_mmi_post_resume(struct device *dev)
{
int retval;
struct syna_tcm_hcd *tcm_hcd;
@ -431,7 +431,7 @@ static struct ts_mmi_methods syna_ts_mmi_methods = {
/* Firmware */
.firmware_update = syna_ts_firmware_update,
/* PM callback */
.pre_resume = syna_ts_mmi_pre_resume,
.post_resume = syna_ts_mmi_post_resume,
.pre_suspend = syna_ts_mmi_pre_suspend,
.post_suspend = syna_ts_mmi_post_suspend,
};