diff options
author | Grygorii Strashko <[email protected]> | 2018-05-30 14:25:21 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2018-05-30 16:42:12 -0700 |
commit | 22a844b853684a9f6088ede15114f8b286b49560 (patch) | |
tree | cc4ce911ace9d9c8758ed21d3371e71919acbc23 /include/linux/fpga/fpga-mgr.h | |
parent | 46850420e5e2330781aae5ff30cf19392d49979e (diff) |
Input: ti_am335x_tsc - prevent system suspend when TSC is in use
Prevent system suspend while user has finger on touch screen,
because TSC is wakeup source and suspending device while in use will
result in failure to disable the module.
This patch uses pm_stay_awake() and pm_relax() APIs to prevent and
resume system suspend as required.
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: Vignesh R <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions