]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
HID: quirks: move the list of special devices into a quirk
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:34 +0000 (14:14 +0100)
commit90b5220046668278f9ebbddcaa69f6bf4aaebbbf
treebb22e9b723dd642fffe6eec794b5d494b1a779db
parent90ac384e6406986bb73797bbb608c779872e55c4
HID: quirks: move the list of special devices into a quirk

BugLink: https://bugs.launchpad.net/bugs/1862567
It is better to centralize the information of special devices in one
single file. Instead of manually parsing the list of devices that
have a special driver or those that need to be ignored, introduce
HID_QUIRK_HAVE_SPECIAL_DRIVER and set the correct quirks while fetching
those quirks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(backported from commit 6e65d9d5492f370dd0e5418bdd38265b2ca74f88)
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/hid-core.c
drivers/hid/hid-quirks.c
include/linux/hid.h
net/bluetooth/hidp/core.c