diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2018-03-20 15:57:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 15:40:10 +0300 |
commit | d0a0fa9d74b9ba3b24b43fd50c318c27dc34c06f (patch) | |
tree | 477447040c6549af9579f9f545064a34395ac049 /include/soc | |
parent | 2000016c94b4f724cb5851486b9f9a94e8da32fc (diff) | |
download | linux-d0a0fa9d74b9ba3b24b43fd50c318c27dc34c06f.tar.xz |
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 'include/soc')
0 files changed, 0 insertions, 0 deletions