mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
No need to send the suspend command when power off.
When entering the deepsleep state, touch IC will power off, so there is no need to send the suspend command. Change-Id: I6b6a3b29eb3b1acee6c72db2b97fdb90710f25bc Reviewed-on: https://gerrit.mot.com/2134059 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
b730a4bd1e
commit
154ec7b967
1 changed files with 3 additions and 2 deletions
|
|
@ -692,8 +692,9 @@ static int goodix_ts_mmi_panel_state(struct device *dev,
|
|||
break;
|
||||
case TS_MMI_PM_DEEPSLEEP:
|
||||
/* enter sleep mode or power off */
|
||||
if (hw_ops->suspend)
|
||||
hw_ops->suspend(core_data);
|
||||
/* if (hw_ops->suspend)
|
||||
hw_ops->suspend(core_data);
|
||||
*/
|
||||
core_data->gesture_enabled = false;
|
||||
break;
|
||||
case TS_MMI_PM_ACTIVE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue