]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: pidff: Update debug messages
authorTomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Wed, 13 Aug 2025 20:09:57 +0000 (22:09 +0200)
committerJiri Kosina <jkosina@suse.com>
Fri, 15 Aug 2025 13:58:02 +0000 (15:58 +0200)
commit1abfcd86e38c3466acefd0069bf6b3c2514fb886
treefe3757afe16191b106ac38a07a7515c813b53d2b
parent1d72e7bd340b552160df0baca1a85fd1992abe49
HID: pidff: Update debug messages

Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Better indicate what operation is requested on a given effect (play or
stop). Previously, we only had the info about requesting playback but
this could be misleading when the looop count is 0.

Add debug print that shows what device control command was actually sent
to the device. Print out its hex hid usage.

Make field_index const to make sure it won't be changed by mistake later.

Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/usbhid/hid-pidff.c