Re: [U-Boot] [PATCH 1/7] usb: rockchip: fix command failed on host side due to missing data

2018-07-04 Thread Alberto Panizzo
Hi Lukasz, On Tue, Jul 03, 2018 at 11:24:34PM +0200, Lukasz Majewski wrote: > Hi Alberto, > > > Two consecutive rockusb_tx_write without waiting for request complete > > do results in transfer reset of first request and thus no or > > incomplete data transfer. This because rockusb_tx_write do

Re: [U-Boot] [PATCH 1/7] usb: rockchip: fix command failed on host side due to missing data

2018-07-03 Thread Lukasz Majewski
Hi Alberto, > Two consecutive rockusb_tx_write without waiting for request complete > do results in transfer reset of first request and thus no or > incomplete data transfer. This because rockusb_tx_write do use just > une request to keep serialization. > > So calls like: >

[U-Boot] [PATCH 1/7] usb: rockchip: fix command failed on host side due to missing data

2018-07-03 Thread Alberto Panizzo
Two consecutive rockusb_tx_write without waiting for request complete do results in transfer reset of first request and thus no or incomplete data transfer. This because rockusb_tx_write do use just une request to keep serialization. So calls like: rockusb_tx_write_str(emmc_id);