]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: fixup the conflicting keyboard mappings quirk
authorJiri Kosina <jkosina@suse.cz>
Tue, 6 Jan 2015 21:34:19 +0000 (22:34 +0100)
committerJiri Slaby <jslaby@suse.cz>
Mon, 16 Mar 2015 13:58:18 +0000 (14:58 +0100)
commit365302800a2667d7a1a1ed54bc691e65c6b8e4b9
tree67a02ad0578ccea017c3adc160ade369fea1036f
parent955c3838cacf128fa7ca929f9c58df74778f6150
HID: fixup the conflicting keyboard mappings quirk

commit 8e7b341037db1835ee6eea64663013cbfcf33575 upstream.

The ignore check that got added in 6ce901eb61 ("HID: input: fix confusion
on conflicting mappings") needs to properly check for VARIABLE reports
as well (ARRAY reports should be ignored), otherwise legitimate keyboards
might break.

Fixes: 6ce901eb61 ("HID: input: fix confusion on conflicting mappings")
Reported-by: Fredrik Hallenberg <megahallon@gmail.com>
Reported-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/hid/hid-input.c