[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180216132136.GM1480@kuha.fi.intel.com>
Date: Fri, 16 Feb 2018 15:21:36 +0200
From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To: Hans de Goede <hdegoede@...hat.com>
Cc: Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org,
Mathias Nyman <mathias.nyman@...ux.intel.com>
Subject: Re: [PATCH 07/12] xhci: Add option to get next extended capability
in list by passing id = 0
On Fri, Feb 16, 2018 at 11:47:46AM +0100, Hans de Goede wrote:
> From: Mathias Nyman <mathias.nyman@...ux.intel.com>
>
> 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@...ux.intel.com>
> Signed-off-by: Hans de Goede <hdegoede@...hat.com>
FWIW:
Reviewed-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Br,
--
heikki
Powered by blists - more mailing lists