Skip to content

Commit

Permalink
HID: logitech-dj: add debug msg when exporting a HID++ report descrip…
Browse files Browse the repository at this point in the history
…tors

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 <lains@archlinux.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Filipe Laíns authored and Jiri Kosina committed Feb 12, 2020
1 parent 12fb2b9 commit 630dd6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hid/hid-logitech-dj.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,8 @@ static int logi_dj_ll_parse(struct hid_device *hid)
}

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

0 comments on commit 630dd6e

Please sign in to comment.