Searched hist:"3 ac38d260fa5dc8ec26ee5b6f5330d726ec00065" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd_ddma.c | diff 3ac38d260fa5dc8ec26ee5b6f5330d726ec00065 Thu Nov 05 02:41:37 CST 2015 Gregory Herrero <gregory.herrero@intel.com> usb: dwc2: host: ensure filling of isoc desc is correctly done
Increment qtd->isoc_frame_index_last before testing it, else below check will never be true and IOC (Interrupt On Complete) bit for last frame will never be set in descriptor status.
/* Set IOC for each descriptor corresponding to last frame of URB */ if (qtd->isoc_frame_index_last == qtd->urb->packet_count) dma_desc->status |= HOST_DMA_IOC;
Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Gregory Herrero <gregory.herrero@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
|