diff options
author | 2018-03-20 15:57:08 +0300 | |
---|---|---|
committer | 2018-03-22 13:40:10 +0100 | |
commit | d0a0fa9d74b9ba3b24b43fd50c318c27dc34c06f (patch) | |
tree | 477447040c6549af9579f9f545064a34395ac049 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: typec: tcpm: Use new Type-C switch/mux and usb-role-switch functions (diff) | |
download | linux-dev-d0a0fa9d74b9ba3b24b43fd50c318c27dc34c06f.tar.xz linux-dev-d0a0fa9d74b9ba3b24b43fd50c318c27dc34c06f.zip |
xhci: Add option to get next extended capability in list by passing id = 0
Modify xhci_find_next_ext_cap(base, offset, id) to return the next
capability offset if 0 is passed for id. Otherwise it will behave as
previously and return the offset of the next capability with matching id
capability id 0 is not used by xHCI (reserved)
This is useful when we want to loop through all capabilities.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions