From: Filipe Laíns Date: Mon, 13 Jan 2020 19:23:00 +0000 (+0000) Subject: HID: logitech-dj: add debug msg when exporting a HID++ report descriptors X-Git-Tag: v5.7-rc1~138^2~1^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=630dd6eaffc8adb11885b51d232c987415657230;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c index bb50d6e7745bc..37e54a4014520 100644 --- a/drivers/hid/hid-logitech-dj.c +++ b/drivers/hid/hid-logitech-dj.c @@ -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)); }