Input: wm97xx-core - support use as a wakeup source
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Apr 2008 13:24:58 +0000 (09:24 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Apr 2008 13:24:58 +0000 (09:24 -0400)
commit34d278534db050b93d79175d59a32a70ac25f9b5
treeb3624684b7b8036979b9422ca98f39b75cabe23f
parentdb7c10e708b9bdd1618c034591d27c33cb341222
Input: wm97xx-core - support use as a wakeup source

The WM97xx touch screen controllers can be used to generate a wakeup
event when the system is suspended. Provide a new core API call
wm97xx_set_suspend_mode() allowing machine drivers to enable this. If no
suspend_mode is provided then the touch panel will be powered down when
the system is suspended.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wm97xx-core.c
include/linux/wm97xx.h