]> git.ipfire.org Git - people/ms/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:08 +0000 (14:11 +0100)
commitb60843df9138ccf558e0c67ab015af57b7f2d125
tree647b8326243b616d352e8845b94e95d11a3f6c2d
parente146d4ebec69c68556d41cdbd65bdfb3da90f20a
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-input.c