u-boot/drivers/usb
Ran Wang 621ed49d3a usb: xhci: fix lack of short packet event trb handling
For bulk IN transfer, the codes will set ISP flag to request event TRB
being generated by xHC for the case of short packet. So when encountering
buffer-cross-64K-boundary (which we will divide payload and enqueuqe
more than 1 transfer TRB), and the first TRB ends up with a short packet
condition it will trigger an short packet code transfer event per that
flag and cause more than 1 event TRB generated for this transfer.

However, current codes will only handle the first transfer event TRB
then mark current transfer completed, causing next transfer
failure due to event TRB mis-match.

Such issue has been observed on some Layerscape platforms (LS1028A,
LS1088A, etc) with USB ethernet device.

This patch adds a loop to make sure the event TRB for last transfer TRB
has been handled in time.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-12-16 10:27:09 +01:00
..
cdns3 usb: cdns3: Fix not calling dev_xxx with a device 2020-09-30 08:53:51 -04:00
common usb: common: add define of usb_speed_string() 2020-10-20 00:49:05 +02:00
dwc3 usb: dwc3-meson-g12a: always configure dr-mode 2020-12-14 19:58:54 +01:00
emul common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
eth eth/r8152: support RTL8153B/RTL8154B 2020-09-01 14:47:36 +02:00
gadget usb: gadget: dwc2_udc_otg: return zero when reset property is not present 2020-11-22 13:18:20 +01:00
host usb: xhci: fix lack of short packet event trb handling 2020-12-16 10:27:09 +01:00
mtu3 usb: add MediaTek USB3 DRD driver 2020-10-20 00:49:05 +02:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new usb: musb-new: Fix typo in caution message 2020-10-20 00:48:58 +02:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig usb: add MediaTek USB3 DRD driver 2020-10-20 00:49:05 +02:00