aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2013-10-21 00:29:13 -0400
committerJiri Kosina <jkosina@suse.cz>2013-10-30 09:23:31 -0400
commite1b8ad8e78301b98363feb0b8c1db199e4877cb2 (patch)
treec1af578aa0beab2abcc6260ee5034d3bf70136f3 /drivers/hid/i2c-hid
parent1c241131a126df9bfb930f27d2fe8887971af0c7 (diff)
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 <bbasu@nvidia.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index c1336193b04b..4c13bf3ebe20 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -455,10 +455,6 @@ static void i2c_hid_init_reports(struct hid_device *hid)
455 } 455 }
456 456
457 list_for_each_entry(report, 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
461 list_for_each_entry(report,
462 &hid->report_enum[HID_FEATURE_REPORT].report_list, list) 458 &hid->report_enum[HID_FEATURE_REPORT].report_list, list)
463 i2c_hid_init_report(report, inbuf, ihid->bufsize); 459 i2c_hid_init_report(report, inbuf, ihid->bufsize);
464 460