| Submitter | Chase Douglas |
|---|---|
| Date | May 24, 2010, 1:54 p.m. |
| Message ID | <1274709274-1731-4-git-send-email-chase.douglas@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/53420/ |
| State | Accepted |
| Delegated to: | Stefan Bader |
| Headers | show |
Comments
Patch
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c index 74b3d98..f60454a 100644 --- a/drivers/hid/hid-ntrig.c +++ b/drivers/hid/hid-ntrig.c @@ -351,7 +351,8 @@ static int ntrig_probe(struct hid_device *hdev, const struct hid_device_id *id) } } - report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; + /* This is needed for devices with more recent firmware versions */ + report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; if (report) usbhid_submit_report(hdev, report, USB_DIR_OUT);