diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2015-11-24 12:09:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-01 19:45:51 +0100 |
commit | d5ddcdf4d672fddeb947ab144eb355c917b431c3 (patch) | |
tree | 7b06deab7dab2e0029658c2edba8c786e45f7b66 /drivers/uwb | |
parent | xhci: use debug level when printing out interval rounding messages (diff) | |
download | linux-d5ddcdf4d672fddeb947ab144eb355c917b431c3.tar.xz linux-d5ddcdf4d672fddeb947ab144eb355c917b431c3.zip |
xhci: rework xhci extended capability list parsing functions
Replace the existing two extended capability parsing helper functions with
one called xhci_find_next_ext_cap().
The extended capabilities are read both in pci-quirks before xhci driver is
loaded, and inside the xhci driver when adding ports. The existing helpers
did not suit well for these cases and a lot of custom parsing code was
needed.
The new helper function simplifies these two cases a lot.
The motivation for this rework was that code to support xhci debug
capability needed to parse extended capabilities, and it included
yet another capability parsing helper specific for its needs. With
this solution it debug capability code can use this new helper as well
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions