Re: [PATCH] usb: dwc3: Fix assignment of EP transfer resources

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

 



John Youn <John.Youn@xxxxxxxxxxxx> 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 ?

>> Not sure this is a good approach here.
>
> In any case, I will also resend the cleaned up version of this patch
> as well.

cool

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux