]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: wacom: generic: Correct pad syncing
authorAaron Armstrong Skomra <skomra@gmail.com>
Fri, 10 May 2019 22:34:17 +0000 (15:34 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 17 May 2019 11:56:06 +0000 (13:56 +0200)
commitd4b8efeb46d99a5d02e7f88ac4eaccbe49370770
tree1dab9ec957a377f5a8c31231b87cc92249b42b3a
parentd8e9806005f28bbb49899dab2068e3359e22ba35
HID: wacom: generic: Correct pad syncing

Only sync the pad once per report, not once per collection.
Also avoid syncing the pad on battery reports.

Fixes: f8b6a74719b5 ("HID: wacom: generic: Support multiple tools per report")
Cc: <stable@vger.kernel.org> # v4.17+
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c