diff options
author | Pali Rohár <pali@kernel.org> | 2021-02-07 14:50:07 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-03-03 04:12:46 +0100 |
commit | ea7125c4c6d25bbaf7927efc753357e64612bffb (patch) | |
tree | 01c5e66ea4afa119a43fbfd61e86fe6c956b8dbf /drivers/ddr/marvell/a38x/ddr_ml_wrapper.h | |
parent | 7d7ae28c8b568ff1db38f7520b8ae892b4d93eee (diff) |
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>>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr_ml_wrapper.h')
0 files changed, 0 insertions, 0 deletions