commit | c0bd5456a470223e331a9e9e93b4a7425ecfaabb | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Mon Jul 27 12:25:32 2015 +0530 |
committer | Felipe Balbi <balbi@ti.com> | Thu Jul 30 11:43:35 2015 -0500 |
tree | 249ca112f22d747e8b37b7e75361359feab3aae6 | |
parent | 2abd9d5fa60f90cd99801687904f528156d31e18 [diff] |
usb: dwc3: ep0: handle non maxpacket aligned transfers > 512 Use chained TRB mechanism to handle non maxpacket aligned transfers greater than bounce buffer size. With this the first TRB will be programmed to receive 'ALIGN(ur->length - maxp, maxp)' data and the second TRB will be programmed to receive the remaining data using bounce buffer. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>