summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDileep Katta <[email protected]>2015-02-17 02:02:36 +0530
committerMarek Vasut <[email protected]>2015-02-25 17:47:02 +0100
commit9e4b510d40310bf46e09f4edd0a0b6356213df47 (patch)
tree5e4f0df82cc2fd763a493c9f06af6043e2ecfe3b /include
parent7c23bcb93fd44026c737c0f102262f98b5a08ea9 (diff)
fastboot: OUT transaction length must be aligned to wMaxPacketSize
OUT transactions must be aligned to wMaxPacketSize for each transfer, or else transfer will not complete successfully. This patch modifies rx_bytes_expected to return a transfer length that is aligned to wMaxPacketSize. Note that the value of wMaxPacketSize and ep->maxpacket may not be the same value, and it is the value of wMaxPacketSize that should be used for alignment. wMaxPacketSize is passed depending on the speed of connection. Signed-off-by: Dileep Katta <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions