aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKris Huang <[email protected]>2016-08-25 16:57:14 +0800
committerGreg Kroah-Hartman <[email protected]>2016-08-26 13:16:11 +0200
commitcc43368a3cde151739ad20cbf71139530bd53f1a (patch)
tree3d585a5fcdcea9148211bb1b40cfd27a21c43705 /tools/perf/scripts/python
parent0e352343c2e371ad618d8850f542e9ca230e3aa6 (diff)
greybus: lights: Control runtime pm suspend/resume on AP side
According to runtime pm architecture, the kernel side driver should be as smart as needed to know when the module is idle or active, so that it can issue the suspend/resume operations to the firmware side at the right time. To add logics prevents AP from issuing the suspend request to the firmware when a channel turning to active state, and put it to suspend if the state is going to inactive with still holding a reference. Testing Done: Compiled and verified on EVT2 and gpbridge-test module with device class daughter board. Signed-off-by: Kris Huang <[email protected]> Reviewed-by: Rui Miguel Silva <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions