HID: wacom - request tool info only when we get general events
authorPing Cheng <pinglinux@gmail.com>
Sat, 9 Jan 2016 01:14:54 +0000 (17:14 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Jan 2016 22:02:55 +0000 (23:02 +0100)
commit599b082095432f083da89ff53d95b4a878e1fca1
tree359050d381fa5ed5a444dffefb973feb35955d5f
parentc2848f2eef4dd08b0fd2a8eba1694fd8e77ddb67
HID: wacom - request tool info only when we get general events

Move wacom_intuos_schedule_prox_event inside wacom_intuos_general
so we don't call it when general event data isn't ready.

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