aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2017-06-06 15:25:15 +0300
committerGreg Kroah-Hartman <[email protected]>2017-06-09 11:42:43 +0200
commitbdccf295d7cdf6f28ceec1dcc31a79d0a1697d21 (patch)
tree41926128da459fc10bfaba4b3ce6feec0cab1a0e /tools/perf/scripts/python/sctop.py
parent3e13676862f90dbf5b00d57d5599e57788289897 (diff)
thunderbolt: Do not touch the hardware if the NHI is gone on resume
On PCs the NHI host controller is only present when there is a device connected. When the last device is disconnected the host controller will dissappear shortly (within 10s). Now if that happens when we are suspended we should not try to touch the hardware anymore, so add a flag for this and check it before we re-enable rings. Signed-off-by: Mika Westerberg <[email protected]> Reviewed-by: Yehezkel Bernat <[email protected]> Reviewed-by: Michael Jamet <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Andreas Noever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions