All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size
@ 2015-12-13  4:47 Stefan Brüns
  2015-12-13  4:49 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Brüns @ 2015-12-13  4:47 UTC (permalink / raw)
  To: u-boot

The configuration descriptor includes all interface, endpoint and
auxiliary descriptors (e.g. report, union) so 512 may not be enough.

Signed-off-by: Stefan Br?ns <stefan.bruens@rwth-aachen.de>
---
 common/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/usb.c b/common/usb.c
index 700bfc3..c276bf2 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -41,7 +41,7 @@
 #include <asm/4xx_pci.h>
 #endif
 
-#define USB_BUFSIZ	512
+#define USB_BUFSIZ	1024
 
 static int asynch_allowed;
 char usb_started; /* flag for the started/stopped USB status */
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-19 21:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-13  4:47 [U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size Stefan Brüns
2015-12-13  4:49 ` Marek Vasut
2015-12-13 18:35   ` Stefan Bruens
2015-12-13 18:49     ` Marek Vasut
2015-12-18  1:07       ` [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically Stefan Brüns
2015-12-18 20:19         ` Marek Vasut
2015-12-18 22:41         ` Simon Glass
2015-12-19 15:23           ` Stefan Bruens
2015-12-19 20:29             ` Simon Glass
2015-12-19 21:23               ` Stefan Bruens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.