On Fri, Feb 16, 2018 at 11:47:46AM +0100, Hans de Goede wrote:
> From: Mathias Nyman <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Hans de Goede <[email protected]>

FWIW:

Reviewed-by: Heikki Krogerus <[email protected]>


Br,

-- 
heikki

Reply via email to