diff options
| author | Benjamin Tissoires <[email protected]> | 2019-04-03 14:20:20 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2019-04-24 13:25:29 +0000 |
| commit | d43c17ead879ba7c076dc2f5fd80cd76047c9ff4 (patch) | |
| tree | a7914ab47df0cd026d7ffc3b1e32519c80352a43 /lib/test_printf.c | |
| parent | HID: intel-ish-hid: Add Comet Lake PCI device ID (diff) | |
| download | kernel-d43c17ead879ba7c076dc2f5fd80cd76047c9ff4.tar.gz kernel-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 <[email protected]>
Cc: [email protected] # v5.0+
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
