HID: wacom: generic: Correct pad syncing
authorAaron Armstrong Skomra <skomra@gmail.com>
Fri, 10 May 2019 22:34:17 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:11:06 +0000 (09:11 +0200)
commitf43f71434c005dc30c3203979191b972a01282f4
treea8af97908ca97018aca2e179a403ee416c953f03
parentccd466996707b47e561cbcf08b88934c6db9636f
HID: wacom: generic: Correct pad syncing

commit d4b8efeb46d99a5d02e7f88ac4eaccbe49370770 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/wacom_wac.c