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

Commit 75184ddc authored by Bingzhe Cai's avatar Bingzhe Cai Committed by Gerrit - the friendly Code Review server
Browse files

input: touchscreen: remove PRESSURE event from ft5x06 driver



There is no need to send ABS_MT_PRESSURE event when contact is
removed from touchscreen, this redundant event will confuse some
APP and cause malfunction.

This patch is propagated from msm-3.10 kernel
(commit: 73a7e687bbaba1299ca2df4b017a39fbfe4065b0
input: touchscreen: remove PRESSURE event from ft5x06 driver)

CRs-Fixed: 537993
Change-Id: Ie2aef79f99cb80c10706f832cfab583ba742fdf1
Signed-off-by: default avatarBingzhe Cai <bingzhec@codeaurora.org>
parent 88d102ef
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -336,7 +336,6 @@ static irqreturn_t ft5x06_ts_interrupt(int irq, void *dev_id)
			input_report_abs(ip_dev, ABS_MT_PRESSURE, pressure);
		} else {
			input_mt_report_slot_state(ip_dev, MT_TOOL_FINGER, 0);
			input_report_abs(ip_dev, ABS_MT_PRESSURE, 0);
		}
	}