[U-Boot] [PATCH] DW SPI: invert wait condition in dw_spi_xfer

Jagan Teki jagannadh.teki at gmail.com
Mon Apr 23 05:47:21 UTC 2018


On Thu, Apr 19, 2018 at 8:17 PM, Eugeniy Paltsev
<Eugeniy.Paltsev at synopsys.com> wrote:
> While switching to readl_poll_timeout macros from custom code
> the waiting condition was accidently inverted, so it was pure
> luck that this code works at least in some conditions.
>
> Fix that by inverting exit condition for readl_poll_timeout.
>
> Fixes: c6b4f031d9 ("DW SPI: fix tx data loss on FIFO flush")
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> ---

Applied to u-boot-spi/master


More information about the U-Boot mailing list