Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b41869c6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: touchscreen: fts: Call touch event callback on every event"

parents f74ff626 33175e8d
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -2840,6 +2840,12 @@ static void fts_enter_pointer_event_handler(struct fts_ts_info *info,
		}
	}

	if (info->event_mask) {
		touch_event_call_notifier(info->event_mask,
				(void *)&info->event[0]);
		info->event_mask = 0;
	}

no_report:
	return;

@@ -2883,6 +2889,12 @@ static void fts_leave_pointer_event_handler(struct fts_ts_info *info,
		__clear_bit(touchId, &info->finger_pressed);
		__set_bit(touchId, &info->event_mask);
	}

	if (info->event_mask) {
		touch_event_call_notifier(info->event_mask,
				(void *)&info->event[0]);
		info->event_mask = 0;
	}
}

/* EventId : 0x05 */
@@ -3258,12 +3270,6 @@ static void fts_event_handler(struct work_struct *work)
	input_sync(info->input_dev);

	fts_interrupt_enable(info);

	if (info->event_mask) {
		touch_event_call_notifier(info->event_mask,
				(void *)&info->event[0]);
		info->event_mask = 0;
	}
}

static int cx_crc_check(void)