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 <lains@archlinux.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Filipe Laíns 2020-01-13 19:23:00 +00:00 коммит произвёл Jiri Kosina
Родитель 12fb2b993e
Коммит 630dd6eaff
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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));
}