Skip to content

Commit e1b8ad8

Browse files
Bibek BasuJiri Kosina
authored andcommitted
HID: i2c-hid: Stop querying for init reports
According to specifications, HID over I2C devices are not bound to respond to query for INPUT REPORTS. Thus dropping the call during init as many devices does not respond causing error messages during boot. Signed-off-by: Bibek Basu <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 1c24113 commit e1b8ad8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/hid/i2c-hid/i2c-hid.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,6 @@ static void i2c_hid_init_reports(struct hid_device *hid)
454454
return;
455455
}
456456

457-
list_for_each_entry(report,
458-
&hid->report_enum[HID_INPUT_REPORT].report_list, list)
459-
i2c_hid_init_report(report, inbuf, ihid->bufsize);
460-
461457
list_for_each_entry(report,
462458
&hid->report_enum[HID_FEATURE_REPORT].report_list, list)
463459
i2c_hid_init_report(report, inbuf, ihid->bufsize);

0 commit comments

Comments
 (0)