Re: [RFC 4/4] USB: Support for USB 3.0 streams.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Aug 2009, Sarah Sharp wrote:

> > In fact, can't you use the un-freed streams to satisfy later allocation 
> > requests?
> 
> Sure, as long as the driver asks for the same number of streams (or less
> than the previous request) and passes the same endpoints.  I'll have to
> modify the streams allocation code to return success in that case,
> rather than failing early because streams are already enabled.  I'm not
> sure if I want to handle the case where some endpoints have streams
> enabled, and some don't.  It makes the code pretty complicated.

Yeah, don't bother with it.  Like Oliver said, it's not worth worrying 
about.  Just leak the streams if you can't reuse them.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux