diff options
author | Filipe Laíns <lains@archlinux.org> | 2020-01-13 20:23:00 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-02-12 14:44:45 +0100 |
commit | 630dd6eaffc8adb11885b51d232c987415657230 (patch) | |
tree | c6abb40d0085ed0f964afac7bee9a18091914281 /drivers/hid/hid-logitech-dj.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff) | |
download | linux-630dd6eaffc8adb11885b51d232c987415657230.tar.xz linux-630dd6eaffc8adb11885b51d232c987415657230.zip |
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>
Diffstat (limited to 'drivers/hid/hid-logitech-dj.c')
-rw-r--r-- | drivers/hid/hid-logitech-dj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c index bb50d6e7745b..37e54a401452 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)); } |