aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-waltop.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-04-03 16:20:20 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-04-24 15:25:29 +0200
commitd43c17ead879ba7c076dc2f5fd80cd76047c9ff4 (patch)
treea7914ab47df0cd026d7ffc3b1e32519c80352a43 /drivers/hid/hid-waltop.c
parentHID: intel-ish-hid: Add Comet Lake PCI device ID (diff)
downloadlinux-dev-d43c17ead879ba7c076dc2f5fd80cd76047c9ff4.tar.xz
linux-dev-d43c17ead879ba7c076dc2f5fd80cd76047c9ff4.zip
HID: input: make sure the wheel high resolution multiplier is set
Some old mice have a tendency to not accept the high resolution multiplier. They reply with a -EPIPE which was previously ignored. Force the call to resolution multiplier to be synchronous and actually check for the answer. If this fails, consider the mouse like a normal one. Fixes: 2dc702c991e377 ("HID: input: use the Resolution Multiplier for high-resolution scrolling") Link: https://bugzilla.redhat.com/show_bug.cgi?id=1700071 Reported-and-tested-by: James Feeney <james@nurealm.net> Cc: stable@vger.kernel.org # v5.0+ Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-waltop.c')
0 files changed, 0 insertions, 0 deletions