aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorGrygorii Strashko <[email protected]>2018-05-30 21:25:21 +0000
committerDmitry Torokhov <[email protected]>2018-05-30 23:42:12 +0000
commit22a844b853684a9f6088ede15114f8b286b49560 (patch)
treecc4ce911ace9d9c8758ed21d3371e71919acbc23 /drivers/fpga/fpga-mgr.c
parentInput: ti_am335x_tsc - ack pending IRQs at probe and before suspend (diff)
downloadkernel-22a844b853684a9f6088ede15114f8b286b49560.tar.gz
kernel-22a844b853684a9f6088ede15114f8b286b49560.zip
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions