aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r--drivers/hid/hid-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index ce6d7644e6a1..70bf54167083 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -997,7 +997,7 @@ int hidinput_connect(struct hid_device *hid)
997 if (IS_INPUT_APPLICATION(hid->collection[i].usage)) 997 if (IS_INPUT_APPLICATION(hid->collection[i].usage))
998 break; 998 break;
999 999
1000 if (i == hid->maxcollection) 1000 if (i == hid->maxcollection && (hid->quirks & HID_QUIRK_HIDINPUT) == 0)
1001 return -1; 1001 return -1;
1002 1002
1003 if (hid->quirks & HID_QUIRK_SKIP_OUTPUT_REPORTS) 1003 if (hid->quirks & HID_QUIRK_SKIP_OUTPUT_REPORTS)