summaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2013-02-16 02:03:57 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-16 03:52:49 +0100
commit352ce2b0575f195c8e6452a9802e6c186b39409a (patch)
treea3c876c9a891845e2d70135095001b214a3bbf01 /drivers/input/input-mt.c
parentInput: bma150 - make some defines public and fix some comments (diff)
downloadlinux-352ce2b0575f195c8e6452a9802e6c186b39409a.tar.xz
linux-352ce2b0575f195c8e6452a9802e6c186b39409a.zip
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)
{
if (dev->absinfo && test_bit(src, dev->absbit)) {
dev->absinfo[dst] = dev->absinfo[src];
+ dev->absinfo[dst].fuzz = 0;
dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst);
}
}