HID: fixup the conflicting keyboard mappings quirk
authorJiri Kosina <jkosina@suse.cz>
Tue, 6 Jan 2015 21:34:19 +0000 (22:34 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Jan 2015 21:40:13 +0000 (22:40 +0100)
commit8e7b341037db1835ee6eea64663013cbfcf33575
treebedf9be6c2d014a0e12ce5287591455d045cd14e
parent79bc33bd60ac3d5ab3bd1918fba95234ac9d510e
HID: fixup the conflicting keyboard mappings quirk

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.

Cc: <stable@vger.kernel.org>
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>
drivers/hid/hid-input.c