summaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2013-10-21 09:59:13 +0530
committerJiri Kosina <jkosina@suse.cz>2013-10-30 14:23:31 +0100
commite1b8ad8e78301b98363feb0b8c1db199e4877cb2 (patch)
treec1af578aa0beab2abcc6260ee5034d3bf70136f3 /drivers/hid/i2c-hid
parent1c241131a126df9bfb930f27d2fe8887971af0c7 (diff)
downloadop-kernel-dev-e1b8ad8e78301b98363feb0b8c1db199e4877cb2.zip
op-kernel-dev-e1b8ad8e78301b98363feb0b8c1db199e4877cb2.tar.gz
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 c133619..4c13bf3 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)
}
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);
OpenPOWER on IntegriCloud