diff options
author | Roger Quadros <rogerq@ti.com> | 2016-04-19 15:20:39 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-04-25 17:56:30 +0200 |
commit | 842769ea51d849fee3f6c03939cabd3971e75cfd (patch) | |
tree | 97844f491edbb15f76c1ba28888485109d390768 /cmd/softswitch.c | |
parent | ac484c5a6a5745503a5c1b83a3d4c1808b677ebf (diff) | |
download | talos-obmc-uboot-842769ea51d849fee3f6c03939cabd3971e75cfd.tar.gz talos-obmc-uboot-842769ea51d849fee3f6c03939cabd3971e75cfd.zip |
usb: s3c-otg: Fix short packet for request size > ep.maxpacket
Request size can be greater than ep.packet and still end in a
short packet. We need to tackle this case as end of transfer
(if short_not_ok is not set) as indicated in USB 2.0 Specification [1],
else we get stuck up on certain protocols like fastboot.
[1] - USB2.0 Specification, Section 5.3.2 Pipes
Reported-by: Steve Rae <steve.rae@broadcom.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Tested-by: Steve Rae <steve.rae@broadcom.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'cmd/softswitch.c')
0 files changed, 0 insertions, 0 deletions