Benjamin Tissoires 0d6c301140 HID: core: fix grouping by application
commit f07b3c1da92d ("HID: generic: create one input report per
application type") was effectively the same as MULTI_INPUT:
hidinput->report was never set, so hidinput_match_application()
always returned null.

Fix that by testing against the real application.

Note that this breaks some old eGalax touchscreens that expect MULTI_INPUT
instead of HID_QUIRK_INPUT_PER_APP. Enable this quirk for backward
compatibility on all non-Win8 touchscreens.

link: https://bugzilla.kernel.org/show_bug.cgi?id=200847
link: https://bugzilla.kernel.org/show_bug.cgi?id=200849
link: https://bugs.archlinux.org/task/59699
link: https://github.com/NixOS/nixpkgs/issues/45165

Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2018-09-04 21:31:43 +02:00
..
2018-08-14 16:39:13 -07:00
2018-08-18 11:04:51 -07:00
2018-08-18 11:44:53 -07:00
2018-08-17 10:40:09 -07:00
2018-08-17 11:32:50 -07:00
2018-08-17 11:32:50 -07:00
2018-08-18 15:55:59 -07:00
2018-08-08 15:44:47 +10:00
2018-08-20 15:38:44 -07:00
2018-08-20 15:38:44 -07:00
2018-08-14 11:51:03 -07:00
2018-08-02 15:22:37 -06:00
2018-08-20 15:38:44 -07:00
2018-08-18 11:44:53 -07:00
2018-08-16 12:26:24 -07:00
2018-08-20 15:38:44 -07:00
2018-08-20 15:38:44 -07:00
2018-08-18 11:04:51 -07:00
2018-08-05 19:32:09 -06:00
2018-08-16 09:21:54 -07:00
2018-07-30 10:04:58 +02:00
2018-08-20 15:38:44 -07:00
2018-08-20 15:38:44 -07:00
2018-08-18 11:04:51 -07:00
2018-08-20 15:38:44 -07:00
2018-08-18 16:42:04 -07:00
2018-08-18 16:45:27 -07:00
2018-08-18 11:00:00 -07:00
2018-08-15 22:06:26 -07:00
2018-08-18 11:04:51 -07:00
2018-08-19 09:30:44 -07:00
2018-08-18 11:04:51 -07:00
2018-08-17 11:32:50 -07:00
2018-08-15 22:06:26 -07:00
2018-08-20 15:41:37 -07:00
2018-08-18 11:04:51 -07:00
2018-08-18 16:16:57 -07:00
2018-08-15 22:06:26 -07:00
2018-08-18 11:04:51 -07:00