From 07d93257c66bb801608a250c2b2f1d18bb577137 Mon Sep 17 00:00:00 2001 From: Bingzhe Cai Date: Wed, 11 Sep 2013 00:04:35 +0800 Subject: 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.18 kernel 'commit 75184ddcf2d1 ("input: touchscreen: remove PRESSURE event from ft5x06 driver")' CRs-Fixed: 537993 Change-Id: Ie2aef79f99cb80c10706f832cfab583ba742fdf1 Signed-off-by: Bingzhe Cai --- drivers/input/touchscreen/ft5x06_ts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/ft5x06_ts.c b/drivers/input/touchscreen/ft5x06_ts.c index 5ed6473ea715..eac9067822a3 100644 --- a/drivers/input/touchscreen/ft5x06_ts.c +++ b/drivers/input/touchscreen/ft5x06_ts.c @@ -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); } } -- cgit v1.2.3