diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-03 16:20:20 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-24 15:25:29 +0200 |
commit | d43c17ead879ba7c076dc2f5fd80cd76047c9ff4 (patch) | |
tree | a7914ab47df0cd026d7ffc3b1e32519c80352a43 /sound/parisc | |
parent | a50e8e2ecc1428df28c748c6af6255eb65faf9f3 (diff) | |
download | linux-d43c17ead879ba7c076dc2f5fd80cd76047c9ff4.tar.bz2 |
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 'sound/parisc')
0 files changed, 0 insertions, 0 deletions