summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2018-12-07 17:19:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-07 17:40:41 +0300
commit70e9b53dfedced674d054166aae6e0366489eb86 (patch)
tree6877e78d68594a3142e0de5c28bf780d8c5b1280 /tools/perf/scripts/python/export-to-sqlite.py
parent5f78a54f8d31e86aedd50f5b4d148dfeabafe88a (diff)
downloadlinux-70e9b53dfedced674d054166aae6e0366489eb86.tar.xz
xhci: move usb2 speficic bits to own function in get_port_status call
Mostly refactoring, with the exception that USB_PORT_STAT_L1 link state is reported if xhci port link is in U2 AND port is powered. Previously we did not check if the port was powered, but according to xhci spec 4.19.1.1.6 All the 'Enabled' states, including USB_PORT_STAT_L1 (U2), U1, U0 and U3 must have Port power bit set. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions