Input: wacom - switch mode upon system resume
authorPing Cheng <pingc@wacom.com>
Wed, 14 Apr 2010 06:07:52 +0000 (23:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Apr 2010 06:14:31 +0000 (23:14 -0700)
commit38101475f937c5dc0baf43a9e0c7613dbeb94d5a
treea3d386045a91d9cd1f446637c2901bd2a16634c4
parentafb567e3fdd2ee43b243cb4f6fe772ab921b2ada
Input: wacom - switch mode upon system resume

When Wacom devices wake up from a sleep, the switch mode command
(wacom_query_tablet_data) is needed before wacom_open is called.
wacom_query_tablet_data should not be executed inside wacom_open
since wacom_open is called more than once during probe.

wacom_retrieve_hid_descriptor is removed from wacom_resume due
to the fact that the required descriptors are stored properly
upon system resume.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reported-and-tested-by: Anton Anikin <Anton@Anikin.name>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c