aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom_wac.h
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2016-12-08 22:06:15 -0800
committerJiri Kosina <jkosina@suse.cz>2016-12-09 13:26:25 +0100
commitc9cfb2aca26505729fc37716038c692208b2a8c9 (patch)
tree3ea48ed38216e18b007383798681cd4a386518f7 /drivers/hid/wacom_wac.h
parentHID: wacom: generic: Pad supports more than buttons (diff)
downloadlinux-dev-c9cfb2aca26505729fc37716038c692208b2a8c9.tar.xz
linux-dev-c9cfb2aca26505729fc37716038c692208b2a8c9.zip
HID: wacom: generic: Don't sync input on empty input packets
post input_sync only when there are input events posted Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Reviewed-By: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
-rw-r--r--drivers/hid/wacom_wac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h
index a54a3017a23f..fb0e50acb10d 100644
--- a/drivers/hid/wacom_wac.h
+++ b/drivers/hid/wacom_wac.h
@@ -232,6 +232,7 @@ struct wacom_features {
int pktlen;
bool check_for_hid_type;
int hid_type;
+ bool input_event_flag;
};
struct wacom_shared {