summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-11-24 13:09:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-01 10:45:51 -0800
commitd5ddcdf4d672fddeb947ab144eb355c917b431c3 (patch)
tree7b06deab7dab2e0029658c2edba8c786e45f7b66 /drivers/uwb
parenta5da9568c58023dff5e79a5eb52b164e69890707 (diff)
downloadlinux-d5ddcdf4d672fddeb947ab144eb355c917b431c3.tar.gz
linux-d5ddcdf4d672fddeb947ab144eb355c917b431c3.tar.xz
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