fastboot: Clean up bulk-out logic
authorRoger Quadros <rogerq@ti.com>
Tue, 19 Apr 2016 07:16:59 +0000 (10:16 +0300)
committerMarek Vasut <marex@denx.de>
Mon, 25 Apr 2016 15:56:30 +0000 (17:56 +0200)
commitac484c5a6a5745503a5c1b83a3d4c1808b677ebf
tree2dd14c2f7e525aa73d81109fc81d9e1d7a727063
parent8b704a0e3d71ca8d1610ae0a877aa42dfdd8de82
fastboot: Clean up bulk-out logic

Just use ep->maxpacket to get the maxpacket size
and simplify the bulk-out maxpacket alignment.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Tested-by: Steve Rae <srae@broadcom.com>
drivers/usb/gadget/f_fastboot.c