diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-07-11 10:02:18 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-07-13 16:48:29 +0200 |
commit | 4cf56a89c696e66d10612b43b7e95852611e76c2 (patch) | |
tree | c042e7652cef6d50c5b6c2bef44809c9debbd9b3 /fs/open.c | |
parent | a91ab911df51ac364e594d5950ed508d91091498 (diff) |
HID: multitouch: do not blindly set EV_KEY or EV_ABS bits
Now that input core insists on having dev->absinfo when device claims to
generate EV_ABS in its dev->evbit, we should not be blindly setting that
bit.
The code in question might have been needed before input_set_abs_params()
started setting EV_ABS in device's evbit, but not anymore, and is now
breaking devices such as SMART SPNL-6075 Touchscreen.
Fixes: 6ecfe51b4082 ("Input: refuse to register absolute devices ...")
Reported-by: Matthias Fend <Matthias.Fend@wolfvision.net>
Tested-by: Matthias Fend <Matthias.Fend@wolfvision.net>
Cc: stable@vger.kernel.org
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions