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

2020-11-29 Thread Pavel Machek
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

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

2020-11-29 Thread Pali Rohár
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 transm