summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp/core.c
diff options
context:
space:
mode:
authorBenjamin Tissoires2017-11-20 11:48:42 +0100
committerJiri Kosina2017-11-21 11:14:48 +0100
commit6e65d9d5492f370dd0e5418bdd38265b2ca74f88 (patch)
tree1f263c56b6bd0034803d8bd041d38cf89c78ffd5 /net/bluetooth/hidp/core.c
parentHID: core: move the dynamic quirks handling in core (diff)
downloadkernel-qcow2-linux-6e65d9d5492f370dd0e5418bdd38265b2ca74f88.tar.gz
kernel-qcow2-linux-6e65d9d5492f370dd0e5418bdd38265b2ca74f88.tar.xz
kernel-qcow2-linux-6e65d9d5492f370dd0e5418bdd38265b2ca74f88.zip
HID: quirks: move the list of special devices into a quirk
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>
Diffstat (limited to 'net/bluetooth/hidp/core.c')
-rw-r--r--net/bluetooth/hidp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index 8112893037bd..83d3b8c5e790 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -789,7 +789,7 @@ static int hidp_setup_hid(struct hidp_session *session,
hid->dev.parent = &session->conn->hcon->dev;
hid->ll_driver = &hidp_hid_driver;
- /* True if device is blacklisted in drivers/hid/hid-core.c */
+ /* True if device is blacklisted in drivers/hid/hid-quirks.c */
if (hid_ignore(hid)) {
hid_destroy_device(session->hid);
session->hid = NULL;