mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Revert "(CR): Send the touchscreen status to display"
CRs-fixed: (CR) This reverts commit f365d6f2a3d5c2bbfe960c3fbaa06f9474217422. Change-Id: Iaa0be2cc5a738483a61766bcfdee6cbccee0b28d Reviewed-on: https://gerrit.mot.com/1678633 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
df91ea2299
commit
9858787efb
3 changed files with 0 additions and 10 deletions
|
|
@ -63,8 +63,6 @@ static int ts_mmi_panel_off(struct ts_mmi_dev *touch_cdev) {
|
|||
dev_info(DEV_MMI, "%s: try to enter Gesture mode\n", __func__);
|
||||
TRY_TO_CALL(panel_state, touch_cdev->pm_mode, TS_MMI_PM_GESTURE);
|
||||
touch_cdev->pm_mode = TS_MMI_PM_GESTURE;
|
||||
if (touch_cdev->pdata.notify_to_display)
|
||||
touch_set_state(TS_MMI_PM_GESTURE, TOUCH_PANEL_IDX_PRIMARY);
|
||||
}
|
||||
}
|
||||
if (IS_ACTIVE_MODE) {
|
||||
|
|
@ -73,8 +71,6 @@ static int ts_mmi_panel_off(struct ts_mmi_dev *touch_cdev) {
|
|||
TRY_TO_CALL(panel_state, touch_cdev->pm_mode, TS_MMI_PM_DEEPSLEEP);
|
||||
TRY_TO_CALL(drv_irq, TS_MMI_IRQ_OFF);
|
||||
touch_cdev->pm_mode = TS_MMI_PM_DEEPSLEEP;
|
||||
if (touch_cdev->pdata.notify_to_display)
|
||||
touch_set_state(TS_MMI_PM_DEEPSLEEP, TOUCH_PANEL_IDX_PRIMARY);
|
||||
}
|
||||
|
||||
#ifdef TS_MMI_TOUCH_EDGE_GESTURE
|
||||
|
|
|
|||
|
|
@ -124,11 +124,6 @@ int ts_mmi_parse_dt(struct ts_mmi_dev *touch_cdev,
|
|||
ppdata->fps_detection = true;
|
||||
}
|
||||
|
||||
if (of_property_read_bool(of_node, "mmi,notify_to_display")) {
|
||||
dev_info(DEV_TS, "%s: using notify to display\n", __func__);
|
||||
ppdata->notify_to_display = true;
|
||||
}
|
||||
|
||||
if (!of_property_read_u32_array(of_node, "mmi,max_coords", coords, 2)) {
|
||||
dev_info(DEV_TS, "%s: get max_coords property\n", __func__);
|
||||
ppdata->max_x = coords[0] - 1;
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ struct ts_mmi_dev_pdata {
|
|||
bool gs_distance_ctrl;
|
||||
bool hold_grip_ctrl;
|
||||
bool poison_slot_ctrl;
|
||||
bool notify_to_display;
|
||||
int max_x;
|
||||
int max_y;
|
||||
int ctrl_dsi;
|
||||
|
|
|
|||
Loading…
Reference in a new issue