[PATCH v3] usb: dwc3: gadget: trb_dequeue is not updated properly

2019-07-18 Thread fei . yang
From: Fei Yang If scatter-gather operation is allowed, a large USB request is split into multiple TRBs. These TRBs are chained up by setting DWC3_TRB_CTRL_CHN bit except the last one which has DWC3_TRB_CTRL_IOC bit set instead. Since only the last TRB has IOC set for the whole USB request, the

[PATCH V2] usb: dwc3: gadget: trb_dequeue is not updated properly

2019-07-17 Thread fei . yang
From: Fei Yang If scatter-gather operation is allowed, a large USB request would be split into multiple TRBs. These TRBs are chained up by setting DWC3_TRB_CTRL_CHN bit except the last one which has DWC3_TRB_CTRL_IOC bit set instead. Since only the last TRB has IOC set

[PATCH] usb: dwc3: gadget: trb_dequeue is not updated properly

2019-07-16 Thread fei . yang
From: Fei Yang If scatter-gather operation is allowed, a large USB request is split into multiple TRBs. These TRBs are chained up by setting DWC3_TRB_CTRL_CHN bit except the last one which has DWC3_TRB_CTRL_IOC bit set instead. Since only the last TRB has IOC set for the whole USB request, the