diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-08-30 15:25:48 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-09-07 22:07:49 +0200 |
commit | f7b7393cc3b04e288de85790b1c8e62af99799c2 (patch) | |
tree | 9048f4b2c7ba29794552813e4aa77a38dc99c710 /drivers/hid/hid-lcpower.c | |
parent | 8544c812e43ab7bdf40458411b83987b8cba924d (diff) | |
download | lwn-f7b7393cc3b04e288de85790b1c8e62af99799c2.tar.gz lwn-f7b7393cc3b04e288de85790b1c8e62af99799c2.zip |
HID: logitech-hidpp: Fix "Sw. Id." for HID++ 2.0 commands
Always set a non-zero "Sw. Id." in the lower nibble of the Function/ASE
and Software Identifier byte in HID++ 2.0 commands.
As per the "Protocol HID++2.0 essential features" section in
https://lekensteyn.nl/files/logitech/logitech_hidpp_2.0_specification_draft_2012-06-04.pdf
"
Software identifier (4 bits, unsigned)
A number uniquely defining the software that sends a request. The
firmware must copy the software identifier in the response but does
not use it in any other ways.
0 Do not use (allows to distinguish a notification from a response).
"
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215699
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lcpower.c')
0 files changed, 0 insertions, 0 deletions