Input: usbtouchscreen - implement runtime power management
authorOliver Neukum <oneukum@suse.de>
Thu, 15 Jul 2010 16:19:51 +0000 (09:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Jul 2010 16:30:52 +0000 (09:30 -0700)
commit5d9efc59e689445f1f8c4eceb125c1a12898e65c
tree21b21794e49de25f728aa0d974722f875fac95cf
parented4299e1b173f111ac0c40d6617e47fbff02b52f
Input: usbtouchscreen - implement runtime power management

This implement USB autosuspend while the device is opened for
devices that do remote wakeup with a fallback to open/close for
those devices that don't. Devices that require the host to
constantly poll them are never autosuspended.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Tested-by: Petr Štetiar <ynezz@true.cz>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/usbtouchscreen.c