Re: [PATCH 2/5] usb-core: Track if an endpoint has streams

2013-08-16 Thread Sarah Sharp
On Fri, Aug 16, 2013 at 11:17:41AM +0200, Hans de Goede wrote: > Hi, > > On 08/15/2013 06:00 PM, Sarah Sharp wrote: > >On Wed, Aug 14, 2013 at 02:32:03PM +0200, Hans de Goede wrote: > >>- /* Streams only apply to bulk endpoints. */ > >>- for (i = 0; i < num_eps; i++) > >>+ for (i = 0; i < nu

Re: [PATCH 2/5] usb-core: Track if an endpoint has streams

2013-08-16 Thread Hans de Goede
Hi, On 08/15/2013 06:00 PM, Sarah Sharp wrote: On Wed, Aug 14, 2013 at 02:32:03PM +0200, Hans de Goede wrote: - /* Streams only apply to bulk endpoints. */ - for (i = 0; i < num_eps; i++) + for (i = 0; i < num_eps; i++) { + /* Streams only apply to bulk endpoints

Re: [PATCH 2/5] usb-core: Track if an endpoint has streams

2013-08-15 Thread Sarah Sharp
On Wed, Aug 14, 2013 at 02:32:03PM +0200, Hans de Goede wrote: > - /* Streams only apply to bulk endpoints. */ > - for (i = 0; i < num_eps; i++) > + for (i = 0; i < num_eps; i++) { > + /* Streams only apply to bulk endpoints. */ > if (!usb_endpoint_xfer_bulk(&e