Re: [RESEND PATCH 07/16] usb: musb: Fix transmission of bigger buffers

2021-02-06 Thread Lukasz Majewski
On Fri, 5 Feb 2021 20:12:03 +0100 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

[RESEND PATCH 07/16] usb: musb: Fix transmission of bigger buffers

2021-02-05 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