On 2/10/2016 1:07 PM, Felipe Balbi wrote:
> John Youn <[email protected]> writes:
>>>> Basically assign all the resources in advance.
>>>
>>> I thought about that, but wouldn't this, essentially, enable all
>>> endpoints unconditionally ? This could, potentially, increase power
>>> consumption on some systems, right ? This could also cause "spurious"
>>> interrupts if a bogus host tries to move data on an endpoint which
>>> hasn't been enabled yet.
>>
>> No, I mean to just assign resources withouth configuring or enabling
>> the endpoint. I have tested this approach and it works. But I still
> 
> oh ok. 
> 
>> need to verify that it won't conflict with anything, such as streams.
> 
> yeah, we would probably have an issue with streams. IIRC, we allocate
> one transfer resource per stream, right ?

Ends up that is not a concern. Streams always use a single resource
per endpoint, not stream.

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

Reply via email to