]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: fastboot: use correct max packet size
authorLi Jun <jun.li@nxp.com>
Mon, 25 Jan 2021 13:43:59 +0000 (21:43 +0800)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commit27c9141b1114fd5721437abbb1c694e45e765f19
tree69132d5a218fc69f0d61c48a8be5351e937943ca
parent54b22f409cdaaeb3f312a3afcfaddf2fd184209b
usb: gadget: fastboot: use correct max packet size

Change to use wMaxPacketSize of current speed EP desc for request
length wrap up.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/usb/gadget/f_fastboot.c