Commit b2caefbb3344ff5eece7d4b1f3d8e583951d2a20
Committed by
Marek Vasut
1 parent
39fd6342a4
Exists in
master
and in
53 other branches
usbtty: adapt buffers for large packet support
Increase buffer sizes at driver and tty level to accommodate kermit large packet support. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Showing 2 changed files with 4 additions and 2 deletions Side-by-side Diff
drivers/serial/usbtty.c
include/usbdevice.h
... | ... | @@ -475,7 +475,9 @@ |
475 | 475 | * function driver to inform it that data has arrived. |
476 | 476 | */ |
477 | 477 | |
478 | -#define URB_BUF_SIZE 128 /* in linux we'd malloc this, but in u-boot we prefer static data */ | |
478 | +/* in linux we'd malloc this, but in u-boot we prefer static data */ | |
479 | +#define URB_BUF_SIZE 512 | |
480 | + | |
479 | 481 | struct urb { |
480 | 482 | |
481 | 483 | struct usb_endpoint_instance *endpoint; |