u-boot-brain/drivers
Moritz Fischer 0ec0c58643 i2c: i2c-cdns: Reorder timeout loop for interrupt waiting
Reorder the timeout loop such that we first check if the
condition is already true, and then call udelay() so if
the condition is already true, break early.

Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: u-boot@lists.denx.de
2017-01-18 06:38:14 +01:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block block: Move ceva driver to DM 2016-12-20 09:15:27 +01:00
bootcount bootcounter_ram: Fix misaligned cache warning 2016-11-28 15:10:34 -05:00
clk clk: zynqmp: Add clock driver support for zynqmp 2017-01-10 10:18:12 +01:00
core dm: core: Add dev_get_addr_size_index() to retrieve addr and size 2016-12-02 21:03:31 -07:00
cpu cpu: Add get_vendor callback 2016-10-19 09:01:51 +02:00
crypto crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig 2017-01-04 19:40:19 -05:00
ddr ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dfu: align array in dfu_get_dev_type with enum dfu_device_type 2016-11-03 11:55:25 +01:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga fpga: zynqmp: Remove empty functions 2017-01-10 10:18:11 +01:00
gpio Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c i2c: i2c-cdns: Reorder timeout loop for interrupt waiting 2017-01-18 06:38:14 +01:00
input powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc OCOTP: Update OCOTP driver to support i.MX6SLL 2016-12-16 11:38:24 +01:00
mmc Merge branch 'master' of http://git.denx.de/u-boot-mmc 2017-01-13 09:17:21 -05:00
mtd omap-gpmc: use SECTOR_BYTES instead of hardcoded value 2017-01-14 16:47:18 -05:00
net net: gmac_rockchip: Add Rockchip GMAC driver 2017-01-11 20:23:50 -07:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci pci: kconfig: fix spelling in description 2017-01-03 10:34:13 -07:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
phy/marvell drivers/phy: marvell: Add support for the slave CP COMPHY device 2016-12-05 13:28:23 +01:00
pinctrl pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20 2017-01-18 01:24:14 +09:00
power power_i2c.c: Fix unused variable warning 2017-01-11 09:16:05 -05:00
pwm pwm: imx: increase support up to PWM8 for i.MX6SX 2016-11-29 16:34:27 +01:00
qe powerpc: P1025: Remove macro CONFIG_P1025 2016-11-23 23:42:10 -08:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
rtc rtc: pcf2127: Update Kconfig and code style 2017-01-14 16:47:59 -05:00
serial Kconfig: CONFIG_OF_PLATDATA doesn't really exist 2017-01-14 12:20:23 -05:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal imx: thermal: Kconfig: add MX7 2017-01-02 17:08:25 +01:00
timer timer: Support clocks via phandle 2016-12-27 11:24:10 -05:00
tpm tpm: tpm_tis_lpc: Add support for AT97SC3204 2016-12-02 10:37:47 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb drivers: usb: gadget: ether: Fix compiler warning 2017-01-17 10:26:46 +01:00
video Merge branch 'master' of git://git.denx.de/u-boot-video 2017-01-16 20:23:14 -05:00
watchdog imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig fsl_ddr: Move DDR config options to driver Kconfig 2017-01-04 19:40:41 -05:00
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00