u-boot/drivers/usb/musb
Pali Rohár ea7125c4c6 usb: musb: Fix transmission of bigger buffers
If udc_endpoint_write() was called with bigger payload which does not fit
into one USB packet it is needed to transmit payload 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 checks if endpoints are ready for
transmit and continue transmission of waiting queue.

This patch fixes sending big output from printenv command over usbtty
serial console.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Pavel Machek <pavel@ucw.cz>>
2021-03-03 04:12:46 +01:00
..
am35x.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
am35x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig usb: musb: Remove legacy CONFIG_USB_DA8XX 2018-12-14 17:59:09 +01:00
Makefile usb: musb: Remove legacy CONFIG_USB_DA8XX 2018-12-14 17:59:09 +01:00
musb_core.c usb: musb: Fix configuring FIFO for endpoints 2021-03-03 04:12:46 +01:00
musb_core.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_debug.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_hcd.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
musb_hcd.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_udc.c usb: musb: Fix transmission of bigger buffers 2021-03-03 04:12:46 +01:00
omap3.c common: Move serial_printf() to the serial header 2019-12-02 18:23:10 -05:00
omap3.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00