Re: [PATCH] usb: dwc3: gadget: Fix starting microframe for ISOC

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

 



John Youn <John.Youn@xxxxxxxxxxxx> writes:

> The gadget wants to set the starting microframe for the first ISOC TRB
> to 4 microframes in the future, but it does so by multiplying the
> dep->interval. This only works if dep->interval = 1. For other intervals
> it will put it 4 *intervals* in the future which may be way too much.
>
> Fix so that it always adds just one interval or at least 4 microframes.
>
> Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>

I'll apply this since it makes the code do what it intended, however we
might have to revisit Isoc scheduling again in the future. The way it
is, we can always miss frames and driver doesn't currently know what to
do.

-- 
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