Thread (6 messages) 6 messages, 3 authors, 2017-09-06

Re: [PATCH v2 1/2] HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth

From: Jiri Kosina <jikos@kernel.org>
Date: 2017-09-06 09:02:03
Also in: stable

On Wed, 30 Aug 2017, Jason Gerecke wrote:
The wacom driver's IRQ handler for Bluetooth reports from the 2nd-gen
Intuos Pro does not correctly process negative numbers. Values for
tilt and rotation (which can go negative) are instead interpreted as
unsigned and so jump to very large values when the data should be
negative. This commit properly casts the data to ensure we report
negative numbers when necessary.

Fixes: 4922cd2 ("HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interface")
Cc: stable@vger.kernel.org # v4.11
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Both patches applied to for-4.14/upstream-fixes.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help