Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0858552 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: ntrig: explain firmware quirk



Commit 6549981b ("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: default avatarJiri Kosina <jkosina@suse.cz>
parent 6549981b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ static int ntrig_probe(struct hid_device *hdev, const struct hid_device_id *id)
		}
	}

	/* 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);