diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-04-07 06:10:29 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-07 06:10:29 -0400 |
commit | c0858552c088616c18879c347d9e0daa98cf2b15 (patch) | |
tree | b482af2e19051b62eb92a303553a98de0b3cfb26 /drivers | |
parent | 6549981bc54777c37eccf987e227aff47022ab7c (diff) |
HID: ntrig: explain firmware quirk
Commit 6549981bc54777c ("HID: fix N-trig touch panel with recent firmware")
adds a quirk that is needed for devices with more recent firmware so that
they become operational.
As it's not directly obvious from the code why is it needed, a comment
is worthwile.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/hid-ntrig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c index 513db0a47c4a..a418f9e19ce7 100644 --- a/drivers/hid/hid-ntrig.c +++ b/drivers/hid/hid-ntrig.c | |||
@@ -352,7 +352,8 @@ static int ntrig_probe(struct hid_device *hdev, const struct hid_device_id *id) | |||
352 | } | 352 | } |
353 | } | 353 | } |
354 | 354 | ||
355 | report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; | 355 | /* This is needed for devices with more recent firmware versions */ |
356 | report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; | ||
356 | if (report) | 357 | if (report) |
357 | usbhid_submit_report(hdev, report, USB_DIR_OUT); | 358 | usbhid_submit_report(hdev, report, USB_DIR_OUT); |
358 | 359 | ||