Input: wacom - ensure the device is initialized properly upon resume
commitcb53e875e1d567724ef60f68ae66ec71b31bb54f
authorPing Cheng <pingc@wacom.com>
Tue, 15 Dec 2009 08:35:24 +0000 (15 00:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:17 +0000 (1 15:58 -0700)
treee3e153dd241cf58393fabd04d8bfe45cc6cad4d3
parent69edae683a24583f5d00dfd53d5d25c77f89a573
Input: wacom - ensure the device is initialized properly upon resume

commit 232f5693e5c9483e222528ef81979e42ea2f2908 upstream.

Call wacom_query_tablet_data() from wacom_resume() so the device will be
switched to Wacom mode upon resume. Devices that require this are: regular
tablets and two finger touch devices.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/tablet/wacom.h
drivers/input/tablet/wacom_sys.c