
29 Nov
2020
29 Nov
'20
6:55 p.m.
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