]> git.sur5r.net Git - u-boot/commit
usb:gadget:f_thor: Allocate request up to THOR_PACKET_SIZE not ep->maxpacket
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 5 Feb 2014 09:10:45 +0000 (10:10 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 6 Feb 2014 01:22:45 +0000 (02:22 +0100)
commit84c13e6f61ecf73d2d477c055a6dc96630f3e4b4
tree85b326f8e1edb72052417f7c5bfc0127ea58c7b4
parente0059eaef18dbdc65ee420a337aecfa555e8d493
usb:gadget:f_thor: Allocate request up to THOR_PACKET_SIZE not ep->maxpacket

Now it is possible to allocate static request - which receives data from
the host (OUT transaction) to the size of THOR packet.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_thor.c