]> git.baikalelectronics.ru Git - kernel.git/commit
HID: logitech-dj: Fix an error in mse_bluetooth_descriptor
authorHans de Goede <hdegoede@redhat.com>
Sat, 14 Nov 2020 09:45:31 +0000 (10:45 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 19 Nov 2020 15:07:45 +0000 (16:07 +0100)
commita92c09468660feb7e5edf060da41b3f113fedf57
tree0747ce68552ace35257356b2c8afce9fc2abb116
parentb2f15a46832430b9f871df6cc83d570214f0b284
HID: logitech-dj: Fix an error in mse_bluetooth_descriptor

Fix an error in the mouse / INPUT(2) descriptor used for quad/bt2.0 combo
receivers. Replace INPUT with INPUT (Data,Var,Abs) for the field for the
4 extra buttons which share their report-byte with the low-res hwheel.

This is likely a copy and paste error. I've verified that the new
0x81, 0x02 value matches both the mouse descriptor for the currently
supported MX5000 / MX5500 receivers, as well as the INPUT(2) mouse
descriptors for the Dinovo receivers for which support is being
worked on.

Cc: stable@vger.kernel.org
Fixes: d5c0fbd4eee1 ("HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-dj.c