HID: asus: Filter keyboard EC for old ROG keyboard
authorLuke D Jones <luke@ljones.dev>
Thu, 18 Feb 2021 21:38:46 +0000 (10:38 +1300)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 May 2021 12:22:38 +0000 (14:22 +0200)
commit4bfb2c72b2bfca8684c2f5c25a3119bad016a9d3
treef848af72afd4d2b5e92c0622e043a82980d0352e
parent6a01268687c8d00e59dff341c519a337de980d2e
HID: asus: Filter keyboard EC for old ROG keyboard

Older ROG keyboards emit a similar stream of bytes to the new
N-Key keyboards and require filtering to prevent a lot of
unmapped key warnings showing. As all the ROG keyboards use
QUIRK_USE_KBD_BACKLIGHT this is now used to branch to filtering
in asus_raw_event.

Signed-off-by: Luke D Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c