mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
HID: ntrig: explain firmware quirk
Commit 6549981bc5
("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>
This commit is contained in:
parent
6549981bc5
commit
c0858552c0
@ -352,7 +352,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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user