diff options
author | 2019-03-20 08:48:23 +1000 | |
---|---|---|
committer | 2019-03-20 14:28:00 +0100 | |
commit | fd35759ce32b60d3eb52436894bab996dbf8cffa (patch) | |
tree | a9043ec121adc02c912da0d5cae0838b11eba4bc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | HID: debug: fix race condition with between rdesc_show() and device removal (diff) | |
download | wireguard-linux-fd35759ce32b60d3eb52436894bab996dbf8cffa.tar.xz wireguard-linux-fd35759ce32b60d3eb52436894bab996dbf8cffa.zip |
HID: logitech: Handle 0 scroll events for the m560
hidpp_scroll_counter_handle_scroll() doesn't expect a 0-value scroll event, it
gets interpreted as a negative scroll direction event. This can cause scroll
direction resets and thus broken scrolling.
Fixes: 4435ff2f09a2fc ("HID: logitech: Enable high-resolution scrolling on Logitech mice")
Cc: stable@vger.kernel.org # v5.0
Reported-and-tested-by: Aimo Metsälä <aimetsal@outlook.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions