diff options
| author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | 2017-05-16 14:55:51 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-18 02:25:22 -0700 |
| commit | 0355a024aa005fe9f50e268cada2fd8367e1961b (patch) | |
| tree | 623b87dba7fd93a400fc173fd9a9bbd2ed95f13c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 5404e35069576a8cd8203065f60975e34a5f727b (diff) | |
policy_engine: Don't allow MODE change if no active connection
Currently driver is allowing MODE change even if there is no active
cable connection and is waiting for to complete. For this MODE
change to complete, driver first sets power role to none to do
type C disconnect and then switch to new mode. Here disconnect won't
come as there is no active cable connection. Fix this issue by returning
error in case there is no active connection.
Change-Id: Ie423bd8b61ab7b2624f98c84e8d8e75b6c853b00
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
