Re: [PATCH] usb: dwc3: gadget: fix miss isoc issue introduced by IRQ latency
From: Felipe Balbi
Date: Fri Dec 14 2018 - 03:52:02 EST
Zeng Tao <prime.zeng@xxxxxxxxxxxxx> writes:
> If it's a busy system, some times when we start an isoc transfer, the
> framenumber get from the event buffer may be already elasped, in this
> case, we will get all the packets dropped due to miss isoc. And we turn
> into transfer nothing, to fix this issue, we need to fix the framenumber
> to make sure that it's not out of date.
>
> Signed-off-by: Liang Shengjun <liangshengjun@xxxxxxxxxxxxx>
> Signed-off-by: Zeng Tao <prime.zeng@xxxxxxxxxxxxx>
There's a patch going upstream already doing this:
https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/commit/?h=next&id=d53701067f048b8b11635e964b6d3bd9a248c622
--
balbi
Attachment:
signature.asc
Description: PGP signature