Re: [RESEND PATCH 05/16] usb: musb: Fix configuring FIFO for endpoints

2021-02-06 Thread Lukasz Majewski
On Fri, 5 Feb 2021 20:12:01 +0100 Pali Rohár wrote: > This patch fixes configuring FIFO for one-directional endpoints which > have either RX or TX queue and therefore only one FIFO. > > Size of FIFO buffer is 2^(idx+3) bytes and starting address is > 2^(addr+3). Moreover first 64 bytes are

Re: [RESEND PATCH 05/16] usb: musb: Fix configuring FIFO for endpoints

2021-02-06 Thread Pavel Machek
On Fri 2021-02-05 20:12:01, Pali Rohár wrote: > This patch fixes configuring FIFO for one-directional endpoints which have > either RX or TX queue and therefore only one FIFO. > > Size of FIFO buffer is 2^(idx+3) bytes and starting address is 2^(addr+3). > Moreover first 64 bytes are reserved for

[RESEND PATCH 05/16] usb: musb: Fix configuring FIFO for endpoints

2021-02-05 Thread Pali Rohár
This patch fixes configuring FIFO for one-directional endpoints which have either RX or TX queue and therefore only one FIFO. Size of FIFO buffer is 2^(idx+3) bytes and starting address is 2^(addr+3). Moreover first 64 bytes are reserved for EP0. Without this patch if FIFO size specified by