Re: [U-Boot] [PATCH v2] usb: Alloc buffer for USB descriptor dynamically

2015-12-21 Thread Marek Vasut
On Tuesday, December 22, 2015 at 01:18:13 AM, Stefan Brüns wrote: > The configuration descriptor includes all interface, endpoint and > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > Signed-off-by: Stefan Brüns > Reviewed-by: Marek Vasut > Reviewed-by: Simon Glass

[U-Boot] [PATCH v2] usb: Alloc buffer for USB descriptor dynamically

2015-12-21 Thread Stefan Brüns
The configuration descriptor includes all interface, endpoint and auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. Signed-off-by: Stefan Brüns Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v2: add missing free() in error path common/usb.c | 42 ++