diff options
author | Mike J. Chen <mjchen@google.com> | 2012-01-25 14:30:08 -0800 |
---|---|---|
committer | Mike J. Chen <mjchen@google.com> | 2012-03-03 17:29:32 -0800 |
commit | b63f1c2c9084e4c518ccaf8fb9037c66478c120e (patch) | |
tree | 15e110953419747737a517ab8b6fa3916b68421b | |
parent | df58eb8c4cb9734eca5b16a252cd3b5c005a3c4d (diff) | |
download | uboot-b63f1c2c9084e4c518ccaf8fb9037c66478c120e.tar.gz |
FASTBOOT: Change udc buffer_length to size of expected transfer
This information is needed in order to implement MUSB mode1 dma
support (in a separate change).
Change-Id: Ic3d6749f3d7fd357194056d67b46f0cb73c85edb
Signed-off-by: Mike J. Chen <mjchen@google.com>
-rw-r--r-- | common/cmd_fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index 9910a20af..b38c883b0 100644 --- a/common/cmd_fastboot.c +++ b/common/cmd_fastboot.c @@ -1792,7 +1792,7 @@ static int fbt_rx_process(unsigned char *buffer, int length) */ ep = &endpoint_instance[RX_EP_INDEX]; ep->rcv_urb->buffer = priv.transfer_buffer; - ep->rcv_urb->buffer_length = priv.transfer_buffer_size; + ep->rcv_urb->buffer_length = priv.d_size; ep->rcv_urb->actual_length = 0; /* don't poison the cmd buffer because |