HID: i2c-hid: Stop querying for init reports
authorBibek Basu <bbasu@nvidia.com>
Mon, 21 Oct 2013 04:29:13 +0000 (09:59 +0530)
committerJiri Kosina <jkosina@suse.cz>
Wed, 30 Oct 2013 13:23:31 +0000 (14:23 +0100)
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>
drivers/hid/i2c-hid/i2c-hid.c

index c1336193b04ba3deb92c3edf2468551f3f6933a9..4c13bf3ebe20f90014180da75ab0ca43c07a6f21 100644 (file)
@@ -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);