diff options
author | Ping Cheng <pinglinux@gmail.com> | 2016-12-08 22:06:15 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-12-09 13:26:25 +0100 |
commit | c9cfb2aca26505729fc37716038c692208b2a8c9 (patch) | |
tree | 3ea48ed38216e18b007383798681cd4a386518f7 /drivers/hid/wacom_wac.h | |
parent | f3f24e7b69841214b62cb0669527b7121d637a9e (diff) | |
download | op-kernel-dev-c9cfb2aca26505729fc37716038c692208b2a8c9.zip op-kernel-dev-c9cfb2aca26505729fc37716038c692208b2a8c9.tar.gz |
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 a54a301..fb0e50a 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 { |