u-boot/drivers/i2c
Marek Vasut b03380805b i2c: designware: Avoid overwriting the cmd_data register
Make sure the driver writes the cmd_data register only once per
read transfer instead of doing so potentially repeatedly.

In case the read transfer didn't finish quickly enough, the loop
in the driver code would spin fast enough to write the same value
into the cmd_data register again before re-checking whether the
transfer completed, which would cause another spurious read transfer
on the bus.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
2016-10-24 18:15:47 +02:00
..
muxes i2c: Drop redundant platform data setting in drivers 2016-08-12 06:41:41 +02:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-atmel 2016-08-15 17:31:23 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-atmel 2016-08-15 17:31:23 -04:00
adi_i2c.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
at91_i2c.c i2c: at91_i2c: Fix the wrong include file 2016-09-13 06:58:54 +02:00
at91_i2c.h i2c: atmel: add i2c driver 2016-08-15 22:12:00 +02:00
cros_ec_ldo.c i2c: Drop redundant platform data setting in drivers 2016-08-12 06:41:41 +02:00
cros_ec_tunnel.c cros_ec: Honor the google,remote-bus dt property 2016-10-08 09:33:36 -04:00
davinci_i2c.c i2c, davinci: convert driver to new mutlibus/mutliadapter framework 2014-04-17 17:24:38 -04:00
davinci_i2c.h i2c, davinci: convert driver to new mutlibus/mutliadapter framework 2014-04-17 17:24:38 -04:00
designware_i2c.c i2c: designware: Avoid overwriting the cmd_data register 2016-10-24 18:15:47 +02:00
designware_i2c.h i2c: designware_i2c: Add ic_enable_status to ic_regs struct 2016-04-25 07:31:04 +02:00
fsl_i2c.c fdt: allow fdtdec_get_addr_size_*() to translate addresses 2016-08-12 09:20:27 -06:00
fti2c010.c i2c: fti2c010: fix compiler warning on paddr[] 2014-01-13 08:18:38 +01:00
fti2c010.h drivers/i2c: Update fti2c010.[ch], i2c_core.c to use SPDX identifiers 2013-07-25 08:51:42 -04:00
i2c-cdns.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
i2c-emul-uclass.c dm: i2c: Add I2C emulation driver for sandbox 2014-12-11 13:18:42 -07:00
i2c-gpio.c dm: i2c-gpio: Remove redundant dm_gpio_set_value() call 2015-05-05 20:58:41 -06:00
i2c-uclass-compat.c i2c: i2c-uclass-compat: avoid any BSS usage 2016-08-08 13:33:00 -04:00
i2c-uclass.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
i2c-uniphier-f.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
i2c-uniphier.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
i2c_core.c drivers: i2c: mxc: Add early init 2016-06-10 13:44:58 -07:00
ihs_i2c.c i2c: ihs_i2c: Fix hold_bus control 2015-11-12 15:59:02 -05:00
intel_i2c.c x86: i2c: Fix cast of address to 32-bit value 2016-10-11 11:55:33 +08:00
kona_i2c.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
lpc32xx_i2c.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mv_i2c.c i2c: mv_i2c.c: Validate read length in I2C command 2016-09-26 10:42:56 +02:00
mv_i2c.h i2c: mv_i2c.c: Enable runtime speed selection (standard vs fast mode) 2016-09-26 10:42:37 +02:00
mvtwsi.c i2c: mvtwsi.c: Add support for Marvell Armada 7K/8K 2016-09-26 10:43:10 +02:00
mxc_i2c.c libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
mxs_i2c.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap24xx_i2c.c drivers: i2c: omap24xx_i2c: adopt omap_i2c driver to driver model 2016-07-26 08:40:09 +02:00
omap24xx_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pca9564_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx_i2c.c ppc4xx: Handle i2c stuck on combined xfer 2014-11-10 06:44:30 +01:00
rcar_i2c.c i2c: rcar_i2c: Fix order of restart and clear status 2014-11-10 06:47:37 +01:00
rk_i2c.c rockchip: i2c: fix >32 byte writes 2016-09-13 06:57:27 +02:00
s3c24x0_i2c.c i2c: Drop redundant platform data setting in drivers 2016-08-12 06:41:41 +02:00
s3c24x0_i2c.h i2c: s3c24xx: add hsi2c controller support 2013-10-17 07:20:26 +02:00
sandbox_i2c.c dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() 2016-07-27 14:15:07 -06:00
sh_i2c.c i2c: sh_i2c: bugfix: i2c probe command does not work 2014-04-14 17:41:48 +09:00
sh_sh7734_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
soft_i2c.c i2c: soft_i2c: Fix bus indizes 2015-11-12 18:04:12 -05:00
tegra186_bpmp_i2c.c ARM: tegra: remove stale nvidia, bpmp I2C DT property 2016-08-25 13:48:11 -07:00
tegra_i2c.c i2c: tegra: only use new clock/reset APIs 2016-09-27 09:11:03 -07:00
tsi108_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_i2c.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00