[PATCH 06/13] usb: musb: Fix transmission of bigger buffers

Pavel Machek
2020-11-29T17:55:32Z

On Sun 2020-11-29 17:46:11, Pali Roh?r wrote:
> If udc_endpoint_write() was called with bigger payload which does not fit
> into one USB packet it needs to be transmitted in more USB packets. First
> packet is transmitted by udc_endpoint_write() call itself and other packets
> are put into waiting queue.
>
> Implement function musb_peri_tx() which transmit checks when endpoints are
> ready and continue transmitting of waiting queue.
>
> This patch fixes sending e.g. output of printenv command over usbtty serial
> console.
>
> Signed-off-by: Pali Roh?r <pali@kernel.org>

Reviewed-by: Pavel Machek <pavel@ucw.cz>

--
http://www.livejournal.com/~pavelmachek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201129/879cb1d7/attachment.sig>