Skip to content
Snippets Groups Projects
Commit 842769ea authored by Roger Quadros's avatar Roger Quadros Committed by Marek Vasut
Browse files

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: default avatarSteve Rae <steve.rae@broadcom.com>
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Tested-by: default avatarSteve Rae <steve.rae@broadcom.com>
Tested-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent ac484c5a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment