mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Solve resume and suspend confusion,causes touchscreen crash
When answering a call, the display screen keeps on and off, which causing the touchscreen to enter the suspend process when the resume process is not completed Change-Id: I70ace85a8eb969f5b3005218d432ce4e3d29e8c4 Reviewed-on: https://gerrit.mot.com/1542928 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jialei Hao <haojl2@motorola.com> Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5c531b9ed3
commit
3b4b1c2e8f
1 changed files with 1 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ static int ts_mmi_panel_cb(struct notifier_block *nb,
|
|||
switch (event) {
|
||||
#if defined(CONFIG_PANEL_NOTIFICATIONS)
|
||||
case PANEL_EVENT_PRE_DISPLAY_OFF:
|
||||
cancel_delayed_work_sync(&touch_cdev->work);
|
||||
ts_mmi_panel_off(touch_cdev);
|
||||
if (NEED_TO_SET_PINCTRL) {
|
||||
dev_dbg(DEV_MMI, "%s: touch pinctrl off\n", __func__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue