]> git.baikalelectronics.ru Git - kernel.git/commit
Input: egalax_ts - add system wakeup support
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 17 Sep 2018 18:08:52 +0000 (11:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Sep 2018 22:28:07 +0000 (15:28 -0700)
commit72b97d96f9d3c2ce1541808059212585716fa50b
treea9e8440aab6221af0cd0cc9bd3c0276db6b9a3c2
parent9a8d096564482f8d3ff51df434eb0aa48381b32c
Input: egalax_ts - add system wakeup support

This patch adds wakeup function support for egalax touch
screen, if "wakeup-source" is added to device tree's egalax
touch screen node, the wakeup function will be enabled, and
egalax touch screen will be able to wakeup system from suspend.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/egalax_ts.c