DM USB: xHCI: fix process logic of LINK type TRB
When the LINK type TRB are received, it should not be counted as valid date block to give libusb. This patch is used to fix it. Tracked-On: #1567 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
parent
08a7227fe6
commit
f799e8fa1c
|
@ -390,7 +390,6 @@ usb_dev_prepare_xfer(struct usb_data_xfer *xfer, int *count, int *size)
|
|||
* 1. LINK trb is in the middle of trbs.
|
||||
* 2. LINK trb is a single trb.
|
||||
*/
|
||||
c++;
|
||||
block->processed = USB_XFER_BLK_HANDLED;
|
||||
idx = (idx + 1) % USB_MAX_XFER_BLOCKS;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue