aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2013-02-15 20:03:57 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-15 21:52:49 -0500
commit352ce2b0575f195c8e6452a9802e6c186b39409a (patch)
treea3c876c9a891845e2d70135095001b214a3bbf01 /drivers/input/input-mt.c
parent0db3863add5cb249520b31a4ad36f275a30e7ba6 (diff)
Input: MT - do not apply filtering on emulated events
The pointer emulation events are derived from contact values that have already been filtered, so send the emulated events as is. Reported-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/input-mt.c')
-rw-r--r--drivers/input/input-mt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c
index c2f436ce7f5b..53eaf89f2db5 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -18,6 +18,7 @@ static void copy_abs(struct input_dev *dev, unsigned int dst, unsigned int src)
18{ 18{
19 if (dev->absinfo && test_bit(src, dev->absbit)) { 19 if (dev->absinfo && test_bit(src, dev->absbit)) {
20 dev->absinfo[dst] = dev->absinfo[src]; 20 dev->absinfo[dst] = dev->absinfo[src];
21 dev->absinfo[dst].fuzz = 0;
21 dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst); 22 dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst);
22 } 23 }
23} 24}