diff options
author | Ping Cheng <pinglinux@gmail.com> | 2016-12-09 07:06:15 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-12-09 13:26:25 +0100 |
commit | c9cfb2aca26505729fc37716038c692208b2a8c9 (patch) | |
tree | 3ea48ed38216e18b007383798681cd4a386518f7 /drivers/hid/wacom_wac.h | |
parent | HID: wacom: generic: Pad supports more than buttons (diff) | |
download | linux-c9cfb2aca26505729fc37716038c692208b2a8c9.tar.xz linux-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.h | 1 |
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 { |