]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
HID: core: move the dynamic quirks handling in core
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 10 Feb 2020 03:46:00 +0000 (04:46 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 14 Feb 2020 13:14:33 +0000 (14:14 +0100)
commit90ac384e6406986bb73797bbb608c779872e55c4
tree99d261d9b882f3f341dcce7cd487cd5f481ff589
parent76da92ce7f16796ac1ad785af565d04c9f85b900
HID: core: move the dynamic quirks handling in core

BugLink: https://bugs.launchpad.net/bugs/1862567
usbhid has a list of dynamic quirks in addition to a list of static quirks.
There is not much USB specific in that, so move this part of the module
in core so we can have one central place for quirks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit d5d3e202753cc023100a854788a4ad83d7c2821a)
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-quirks.c [new file with mode: 0644]
drivers/hid/usbhid/Makefile
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/hid-quirks.c [deleted file]
include/linux/hid.h