From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Sun, 29 Nov 2020 18:55:32 +0100 Subject: [PATCH 06/13] usb: musb: Fix transmission of bigger buffers In-Reply-To: <20201129164618.5829-7-pali@kernel.org> References: <20201129164618.5829-1-pali@kernel.org> <20201129164618.5829-7-pali@kernel.org> Message-ID: <20201129175532.GH27274@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Pavel Machek -- http://www.livejournal.com/~pavelmachek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: