HID: wacom: generic: read the number of expected touches on a per collection basis
authorAaron Armstrong Skomra <skomra@gmail.com>
Wed, 12 Jun 2019 21:19:31 +0000 (14:19 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 13 Jun 2019 14:48:50 +0000 (16:48 +0200)
commit15893fa40109f5e7c67eeb8da62267d0fdf0be9d
tree8d386f7e848dce1cd6dcb69fc604dce98eefda71
parentf4e11d599610a61e978f722f6ade660872a43816
HID: wacom: generic: read the number of expected touches on a per collection basis

Bluetooth connections may contain more than one set of touches,
or a partial set of touches, in one report.

Set the number of expected touches when reading a collection
instead of once per report (in the pre-report function).

Accordingly, reset the number of touches expected after each sync.

Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c