提交 e1b8ad8e 编写于 作者: B Bibek Basu 提交者: Jiri Kosina

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: NBibek Basu <bbasu@nvidia.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 1c241131
...@@ -454,10 +454,6 @@ static void i2c_hid_init_reports(struct hid_device *hid) ...@@ -454,10 +454,6 @@ static void i2c_hid_init_reports(struct hid_device *hid)
return; 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, list_for_each_entry(report,
&hid->report_enum[HID_FEATURE_REPORT].report_list, list) &hid->report_enum[HID_FEATURE_REPORT].report_list, list)
i2c_hid_init_report(report, inbuf, ihid->bufsize); i2c_hid_init_report(report, inbuf, ihid->bufsize);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册