diff options
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 36be431888fb..bd5a29fe85fc 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -1112,6 +1112,9 @@ int hidinput_connect(struct hid_device *hid) | |||
1112 | int i, j, k; | 1112 | int i, j, k; |
1113 | int max_report_type = HID_OUTPUT_REPORT; | 1113 | int max_report_type = HID_OUTPUT_REPORT; |
1114 | 1114 | ||
1115 | if (hid->quirks & HID_QUIRK_IGNORE_HIDINPUT) | ||
1116 | return -1; | ||
1117 | |||
1115 | INIT_LIST_HEAD(&hid->inputs); | 1118 | INIT_LIST_HEAD(&hid->inputs); |
1116 | 1119 | ||
1117 | for (i = 0; i < hid->maxcollection; i++) | 1120 | for (i = 0; i < hid->maxcollection; i++) |