[LUCID][PATCH 3/6] HID: ntrig: explain firmware quirk

Chase Douglas chase.douglas at canonical.com
Mon May 24 13:54:31 UTC 2010

From: Jiri Kosina <jkosina at suse.cz>

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 at suse.cz>
(cherry picked from commit c0858552c088616c18879c347d9e0daa98cf2b15)

BugLink: http://bugs.launchpad.net/bugs/583531

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
 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 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);

More information about the kernel-team mailing list