commit | 13b24e0b2fa0d18c73c1f92ec0f9b6f5ed8887ab | [log] [tgz] |
---|---|---|
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | Wed Apr 15 13:42:19 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Sep 07 13:41:03 2015 +0200 |
tree | 48d309e4ba82bb1a6ff8e41d7edc52d763c60465 | |
parent | 4bad1067e865931db46f92b7e08aa0e4cc8bd9b7 [diff] |
usb: gadget: f_thor: Allocate request up to THOR_PACKET_SIZE Allocate request up to THOR_PACKET_SIZE not the ep0->maxpacket as the descriptors data depend on the number of descriptors and this 64 bytes were not enough and the buffer might overflow which results in memalign failures later. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>