Skip to content

Commit

Permalink
HID: i2c-hid: Stop querying for init reports
Browse files Browse the repository at this point in the history
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 <bbasu@nvidia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Bibek Basu authored and Jiri Kosina committed Oct 30, 2013
1 parent 1c24113 commit e1b8ad8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/hid/i2c-hid/i2c-hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,6 @@ static void i2c_hid_init_reports(struct hid_device *hid)
return;
}

list_for_each_entry(report,
&hid->report_enum[HID_INPUT_REPORT].report_list, list)
i2c_hid_init_report(report, inbuf, ihid->bufsize);

list_for_each_entry(report,
&hid->report_enum[HID_FEATURE_REPORT].report_list, list)
i2c_hid_init_report(report, inbuf, ihid->bufsize);
Expand Down

0 comments on commit e1b8ad8

Please sign in to comment.