]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Fix special function keys on T200TA
authorHans de Goede <hdegoede@redhat.com>
Fri, 5 Jan 2018 11:09:19 +0000 (12:09 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Jan 2018 14:44:59 +0000 (15:44 +0100)
commit24a8f025d9b31902581290caad2d7faca0bd8684
tree3af4681cb81bf38b0571e09f82e516cdf82c6d4f
parent552e0dff0ea251e1d46c1255a242757adc4139e2
HID: asus: Fix special function keys on T200TA

Just like on the T100TA the T200TA HID descriptors for the 0xff32
Asus vendor usage page need a small fixup. But on the T200TA the HID
descriptors are larger because they have descrriptors for one more
(unused) HID report appended.

Extend the T100TA descriptor fixup to also check for the T200TA's
descriptors size.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c