Skip to content

Commit 630dd6e

Browse files
FFY00Jiri Kosina
authored andcommitted
HID: logitech-dj: add debug msg when exporting a HID++ report descriptors
When exporting all other types of report descriptors we print a debug message. Not doing so for HID++ descriptors makes unaware users think that no HID++ descriptor was exported. Signed-off-by: Filipe Laíns <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 12fb2b9 commit 630dd6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/hid/hid-logitech-dj.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,8 @@ static int logi_dj_ll_parse(struct hid_device *hid)
13681368
}
13691369

13701370
if (djdev->reports_supported & HIDPP) {
1371+
dbg_hid("%s: sending a HID++ descriptor, reports_supported: %llx\n",
1372+
__func__, djdev->reports_supported);
13711373
rdcat(rdesc, &rsize, hidpp_descriptor,
13721374
sizeof(hidpp_descriptor));
13731375
}

0 commit comments

Comments
 (0)