diff options
| author | Mika Westerberg <[email protected]> | 2020-01-08 15:53:16 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-01-08 16:55:42 +0100 |
| commit | c7a7ac84afeaf310a0ee477fc114e1e291a37c43 (patch) | |
| tree | 21c0c29ef699dbb69e9c21a89f837b34c6f863f3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | a00dfd4ddd4871eb87a5216970a338bf381abfbe (diff) | |
thunderbolt: Fix xhci check in usb4_switch_setup()
The code tried to check whether xhci variable has ROUTER_CS_6_HCI bit
set but since xhci type is bool and it already holds true or false based
on that very bit, fix the check to use the variable directly.
Reported-by: Dan Carpenter <[email protected]>
Fixes: b04079837b20 ("thunderbolt: Add initial support for USB4")
Signed-off-by: Mika Westerberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions