]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
HID: wacom: Move HID fix for AES serial number into wacom_hid_usage_quirk
authorJason Gerecke <killertofu@gmail.com>
Thu, 24 Jan 2019 19:09:44 +0000 (11:09 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 29 Jan 2019 10:14:57 +0000 (11:14 +0100)
commite9fe0d4921ee07d934d839d8e418f83dded48aa7
treed18009d8d325391dab8c4e00a50d3590c98343ef
parent787a3b4322763284a594a5dd3680508c0bfb20b0
HID: wacom: Move HID fix for AES serial number into wacom_hid_usage_quirk

The 'wacom_hid_usage_quirk' function is the intended home for fixing
up descriptors that are buggy or that don't quite fit the mold. Commit
578325120e was supposed to move all of these quirks but it missed the
code to handle fixup the serial number usages for AES pens. Lets move
this code out of 'wacom_wac_pen_usage_mapping' where it was previously
lurking and put it into the same place as the others.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c