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:
wengjun1 2020-04-21 16:56:49 +08:00 • committed by Jun Weng
commit dd6f6f0e7c

View file

@ -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;