mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
dlkm: Himax: Apply for new interface for single tap
- Since now display has updated new interface for wakeup gesture, apply the new interface to implement single tap for TDDI. Change-Id: I0ee716b60cd1ef244d645a4a6735ad454288b98f Signed-off-by: wengjun1 <wengjun1@motorola.com> Reviewed-on: https://gerrit.mot.com/1538941 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqiu Huang <huangjq9@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2f70e77a91
commit
dd6f6f0e7c
1 changed files with 3 additions and 1 deletions
|
|
@ -1060,7 +1060,9 @@ int panel_notifier_callback(struct notifier_block *self, unsigned long event, vo
|
|||
#ifdef HIMAX_V2_SENSOR_EN
|
||||
if (ts->SMWP_enable) {
|
||||
I("%s: tap detection is enabled", __func__);
|
||||
return 1;
|
||||
touch_set_state(TOUCH_LOW_POWER_STATE, TOUCH_PANEL_IDX_PRIMARY);
|
||||
} else {
|
||||
touch_set_state(TOUCH_DEEP_SLEEP_STATE, TOUCH_PANEL_IDX_PRIMARY);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue