diff options
author | Jason Gerecke | 2019-05-07 20:53:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-06-19 08:17:59 +0200 |
commit | 9fbd67c56529bf1f8b214b4e8d5e4bc6fab807a4 (patch) | |
tree | 737c4dadfb24560130b8e2f5cf0292deb805ea9d /sound | |
parent | HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth (diff) | |
download | kernel-qcow2-linux-9fbd67c56529bf1f8b214b4e8d5e4bc6fab807a4.tar.gz kernel-qcow2-linux-9fbd67c56529bf1f8b214b4e8d5e4bc6fab807a4.tar.xz kernel-qcow2-linux-9fbd67c56529bf1f8b214b4e8d5e4bc6fab807a4.zip |
HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
commit 69dbdfffef20c715df9f381b2cee4e9e0a4efd93 upstream.
The Bluetooth interface of the 2nd-gen Intuos Pro batches together four
independent "frames" of finger data into a single report. Each frame
is essentially equivalent to a single USB report, with the up-to-10
fingers worth of information being spread across two frames. At the
moment the driver only calls `input_sync` after processing all four
frames have been processed, which can result in the driver sending
multiple updates for a single slot within the same SYN_REPORT. This
can confuse userspace, so modify the driver to sync more often if
necessary (i.e., after reporting the state of all fingers).
Fixes: 4922cd26f03c ("HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interface")
Cc: <stable@vger.kernel.org> # 4.11+
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions