diff options
| author | David Lin <[email protected]> | 2016-07-07 22:07:00 -0500 |
|---|---|---|
| committer | Alex Elder <[email protected]> | 2016-07-08 14:56:28 -0500 |
| commit | c7dc28ff2b47d6dc4efd420b6f1325554b6f8287 (patch) | |
| tree | b92820565144cdceed5e08fa209943d4f1fefd26 /tools/perf/scripts/python | |
| parent | fc8a4027135252b49650a4dbfcf2a8fb434a6e6a (diff) | |
greybus: svc: add power mode call for link hibernation
Due to when using set_power_mode to hibernate a link, it won't trigger a
POWERMODEIND event, hence the hard-coded GB_SVC_SETPWRM_PWR_OK would be
returned and it should also be considered as successful result code for
link hibernation. Therefore, adding this set_power_mode_hibernate
function to separate the two calls in order to check with the correct
result code.
Testing Done:
- Suspend an Interface and observe no set power mode error.
Signed-off-by: David Lin <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: Alex Elder <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions