On Thu, Jan 17, 2019 at 06:06:00PM +0100, Fabien Parent wrote: > The code is checking for incomplete read when it see the INT_XFER_COMPL > flag, but it forget to first check whether there is anything left in the > FIFO to copy to the RX buffer. This means that sometimes we will get > errors because of erroneous incomplete read operation. > > This commit fixes the driver re-ordering the code so that we first > check for data inside the RX fifo and only after check the status > of the INT_XFER_COMPL flag. > > Signed-off-by: Fabien Parent <fpar...@baylibre.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot