aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2017-06-06 15:25:02 +0300
committerGreg Kroah-Hartman <[email protected]>2017-06-09 11:42:42 +0200
commitf53e7676046db175dc6ac78d429dd5077a9afbba (patch)
treef2f62f2e2cbaea12bd0f68832fe6d7c9983c5d06 /tools/perf/scripts/python
parentbfe778ac49826ced3dceb6416038e1cd887ce2bd (diff)
thunderbolt: Fail switch adding operation if reading DROM fails
All non-root switches are expected to have DROM so if the operation fails, it might be due the user unlugging the device. There is no point continuing adding the switch further in that case. Just bail out. For root switches (hosts) the DROM is either retrieved from a EFI variable, NVM or hard-coded. 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')
0 files changed, 0 insertions, 0 deletions