]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:29:21 +0000 (13:29 +0100)
commitd73d0106e354a2612dcd0ef42fe7fe3b6eb0eee4
treeedc27c223934a54621e0f83eba5b49761daddf5e
parent772ff2c77cce7a84f3dc69d5dcb848cb02227352
HID: logitech-dj: Fix an error in mse_bluetooth_descriptor

commit eec231e060fb79923c349f6e89f022b286f32c1e upstream.

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: f2113c3020ef ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-logitech-dj.c