u-boot/drivers/spi
Eugeniy Paltsev 9b14ac5cc2 spi: dw: invert wait condition in dw_spi_xfer
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@synopsys.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-04-23 11:16:41 +05:30
..
altera_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
atcspi200_spi.c spi: atcspi200: Drop non-dm code 2018-03-13 19:50:10 +05:30
ath79_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
atmel_spi.c Revert "spi: atmel: Drop non-dm code" 2018-04-07 09:19:00 -04:00
atmel_spi.h Revert "spi: atmel: Drop non-dm code" 2018-04-07 09:19:00 -04:00
bcm63xx_hsspi.c dm: spi: add BCM63xx HSSPI driver 2018-01-24 12:04:06 +05:30
bcm63xx_spi.c dm: spi: add BCM63xx SPI driver 2018-01-24 12:03:43 +05:30
cadence_qspi.c spi: cadence_spi: Sync DT bindings with Linux 2018-01-24 12:07:50 +05:30
cadence_qspi.h spi: cadence_spi: Sync DT bindings with Linux 2018-01-24 12:07:50 +05:30
cadence_qspi_apb.c spi: cadence_qspi_apb: Make flash writes 32 bit aligned 2018-01-24 12:11:36 +05:30
cf_spi.c spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
davinci_spi.c spi: davinci_spi: Add da830-spi support for DM 2017-09-29 10:52:20 -04:00
designware_spi.c spi: dw: invert wait condition in dw_spi_xfer 2018-04-23 11:16:41 +05:30
exynos_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
fsl_dspi.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
fsl_espi.c spi: fsl: Use BIT macro 2015-10-27 23:19:29 +05:30
fsl_qspi.c Merge git://git.denx.de/u-boot-spi 2018-01-26 07:46:34 -05:00
fsl_qspi.h spi: fsl_qspi: Add controller busy check before new spi operation 2017-09-25 12:49:56 +05:30
ich.c spi: ich: Lock down controller settings if required 2017-10-27 15:13:47 +08:00
ich.h spi: ich: Lock down controller settings if required 2017-10-27 15:13:47 +08:00
Kconfig mtd: spi: Add Renesas RPC SPI-flash driver 2018-04-11 23:12:01 +02:00
kirkwood_spi.c spi: kirkwood_spi: implement workaround for FE-9144572 2018-01-24 12:04:08 +05:30
lpc32xx_ssp.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
Makefile mtd: spi: Add Renesas RPC SPI-flash driver 2018-04-11 23:12:01 +02:00
mpc8xx_spi.c powercp: mpc8xx: move commproc.h 2018-04-06 16:30:37 -04:00
mpc8xxx_spi.c spi: mpc8xxx_spi: Use BIT macro 2015-10-27 23:21:28 +05:30
mvebu_a3700_spi.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
mxc_spi.c spi: mxc_spi: support driver model 2017-09-25 12:47:59 +05:30
mxs_spi.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
omap3_spi.c omap3: spi: Correct ti, pindir-d0-out-d1-in parsing 2018-03-23 23:03:29 +05:30
pic32_spi.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
renesas_rpc_spi.c mtd: spi: Add Renesas RPC SPI-flash driver 2018-04-11 23:12:01 +02:00
rk_spi.c rockchip: spi: the symbol for Hertz is Hz 2017-11-21 23:57:23 +01:00
rk_spi.h rockchip: spi: rk_spi: dynamically select an module input rate 2017-05-10 13:37:21 -06:00
sandbox_spi.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sh_qspi.c spi: sh_qspi: Make use of the 32byte FIFO 2018-04-11 23:19:51 +02:00
sh_spi.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sh_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
soft_spi.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
soft_spi_legacy.c dm: spi: Remove SPI_INIT feature 2014-10-22 10:36:48 -06:00
spi-emul-uclass.c dm: sandbox: Add a SPI emulation uclass 2014-10-22 10:36:46 -06:00
spi-uclass.c spi: spi-uclass: Fix style violations 2018-01-24 12:04:08 +05:30
spi.c spi: Remove obsolete spi_base_setup_slave_fdt 2018-01-24 12:04:07 +05:30
stm32_qspi.c board: stm32: switch to DM STM32 timer 2018-03-13 21:45:37 -04:00
tegra20_sflash.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra20_slink.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra114_spi.c dm: tegra: spi: Convert to livetree 2017-07-28 12:02:47 -06:00
tegra210_qspi.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra_spi.h dm: tegra: spi: Convert to driver model 2014-10-22 10:36:52 -06:00
ti_qspi.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
xilinx_spi.c spi: xilinx: Add new compatible strings 2015-12-11 22:12:24 +05:30
zynq_qspi.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
zynq_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00