u-boot-brain/drivers
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
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata dwc_ahci: Fix breakage 2018-04-13 13:02:50 -04:00
bios_emulator bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE 2018-04-16 22:38:35 +08:00
block SystemACE: Remove 2018-02-13 23:24:22 -05:00
bootcount Migrate CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC 2018-04-06 17:04:33 -04:00
clk clk: fix clk_get_bulk when phandle error 2018-04-17 17:45:08 -04:00
core core: ofnode: Fix translation for #size-cells == 0 2018-04-01 22:19:10 +08:00
cpu dm: cpu: bmips: add BCM6362 support 2018-03-21 23:23:13 +01:00
crypto libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ddr Revert "drivers/ddr/fsl: Dual-license DDR driver" 2018-02-14 21:34:05 -05:00
demo sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
dfu dfu: tftp: Fix arm64 build warnings 2018-02-21 20:28:15 +01:00
dma Convert CONFIG_APBH_DMA et al to Kconfig 2018-02-08 12:48:11 -05:00
firmware libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
fpga fpga: zynq: Add delay after PCFG_PROG_B change 2018-04-09 12:14:50 +02:00
gpio gpio: uclass: Fix debug string 2018-04-06 20:45:44 -04:00
i2c i2c: designware: add reset ctrl to driver 2018-04-17 11:39:49 +02:00
input input: Drop PS/2 keyboard support 2018-04-06 17:04:33 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mmc mmc: mv_sdhci: zero out sdhci_host structure 2018-04-17 10:39:30 +02:00
mtd sf: Add Spansion s25fl208k entry 2018-04-19 16:57:19 +05:30
net net: sh_eth: Add remaining Gen2 DT compatible 2018-04-13 23:41:44 +02:00
nvme Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci pci: video: Only print out when everything is OK 2018-04-16 22:38:52 +08:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers 2018-04-11 17:22:07 +02:00
pinctrl Merge git://git.denx.de/u-boot-dm 2018-04-01 20:36:39 -04:00
power regulator: pbias: don't evaluate variable before assignment 2018-04-06 20:45:28 -04:00
pwm rockchip: pwm: convert to use live dt 2018-03-13 18:12:35 +01:00
qe libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ram driver: ram: rockchip: rk3399: missing counter increment 2018-03-28 23:30:31 +02:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset Merge git://git.denx.de/u-boot-socfpga 2018-04-17 17:45:28 -04:00
rtc rtc: rx8025: remove redundant code in rtc_reset 2018-04-06 20:45:44 -04:00
scsi Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
serial serial: Remove duplicated line in Makefile 2018-04-16 18:45:35 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
spi spi: dw: invert wait condition in dw_spi_xfer 2018-04-23 11:16:41 +05:30
spmi spmi: msm: display the PMIC Arb version (debug) 2018-01-15 11:35:37 -05:00
sysreset sysreset: syscon: convert to use live dt 2018-04-10 11:52:16 -04:00
thermal thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
timer timer: stm32: Add timer support for STM32 SoCs family 2018-03-13 21:45:37 -04:00
tpm treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
usb usb: host: dwc3: Add support for multiple PHYs 2018-04-11 17:22:07 +02:00
video video: vesa: Change default FRAMEBUFFER_VESA_MODE 2018-04-16 22:38:51 +08:00
watchdog watchdog: Fix Kconfig alignment for WDT_SANDBOX 2018-04-06 20:45:44 -04:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile spl: add SPL_RESET_SUPPORT 2018-03-19 16:14:20 -04:00