HID: wacom: rely on actual touch down count to decide touch_down
authorPing Cheng <pinglinux@gmail.com>
Fri, 20 Feb 2015 22:27:30 +0000 (14:27 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 2 Mar 2015 23:27:10 +0000 (00:27 +0100)
touch_down is a flag to indicate if there are touches on tablet
or not. Since one set of touch events may be posted over more
than one data packet/touch frame, and pen may come in proximity
while touch events are partially sent, counting all touch events
for the set reflects the actual status of touch_down.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c

Simple merge