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

Commit e7b58b67 authored by Vevek Venkatesan's avatar Vevek Venkatesan Committed by Gerrit - the friendly Code Review server
Browse files

input: touchscreen: hxchipset: fix bug in release finger call



Fix the bug in Release finger call, correcting the right finger
mask, in himax/hxchipset touchscreen driver.

Change-Id: Ic5378369ca0dbaf28ee57c5b23d8517707c7c8fb
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent 24811cd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1676,7 +1676,7 @@ static void himax_finger_leave(struct himax_ts_data *ts)
#endif

	for (loop_i = 0; loop_i < ts->nFinger_support; loop_i++) {
		if (((ts->pre_finger_mask >> loop_i) & 1) == 1) {
		if (((ts->old_finger >> loop_i) & 1) == 1) {
			input_mt_slot(ts->input_dev, loop_i);
			input_mt_report_slot_state(ts->input_dev, MT_TOOL_FINGER, 0);
		}