uboot/drivers/i2c
Hans de Goede 2ca0299579 mvtwsi: Fix breakage introduced by "Fix mvtwsi not working on sun6i and newer sunxi SoCs"
"Fix mvtwsi not working on sun6i and newer sunxi SoCs" includes the following:

@@ -189,7 +200,8 @@ static int twsi_start(struct i2c_adapter *adap, int expected_status)
 	/* globally set TWSIEN in case it was not */
 	twsi_control_flags |= MVTWSI_CONTROL_TWSIEN;
 	/* assert START */
-	writel(twsi_control_flags | MVTWSI_CONTROL_START, &twsi->control);
+	twsi_control_flags |= MVTWSI_CONTROL_START | MVTWSI_CONTROL_CLEAR_IFLG;
+	writel(twsi_control_flags, &twsi->control);
 	/* wait for controller to process START */
 	return twsi_wait(adap, expected_status);
 }

The modification of twsi_control_flags done here was introduced while
merging to fix a line > 80 chars, but twsi_control_flags is a global variable
and should not be modified like this here, this commit fixes this, restoring
mvtwsi functionality.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-01-26 17:58:02 +01:00
..
muxes dm: i2c: Allow muxes to be enabled for SPL separately 2016-01-21 20:42:35 -07:00
Kconfig x86: i2c: Add a stub driver for Intel I2C/SMbus 2016-01-24 12:09:40 +08:00
Makefile x86: i2c: Add a stub driver for Intel I2C/SMbus 2016-01-24 12:09:40 +08:00
adi_i2c.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
cros_ec_ldo.c cros_ec: Support the LDO access method used by spring 2015-08-05 21:06:11 -06:00
cros_ec_tunnel.c dm: cros_ec: Convert the I2C tunnel code to use driver model 2015-08-05 21:06:11 -06:00
davinci_i2c.c
davinci_i2c.h
designware_i2c.c
designware_i2c.h
fsl_i2c.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fti2c010.c
fti2c010.h
i2c-emul-uclass.c
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 dm: i2c: Add compatibility functions for dm_i2c_reg_read/write() 2015-06-10 19:26:54 -06:00
i2c-uclass.c dm: i2c: Add a function to transfer messages 2015-08-05 20:57:51 -06:00
i2c-uniphier-f.c ARM: UniPhier: replace <asm/io.h> with <linux/io.h> 2015-05-31 02:53:56 +09:00
i2c-uniphier.c ARM: UniPhier: replace <asm/io.h> with <linux/io.h> 2015-05-31 02:53:56 +09:00
i2c_core.c
ihs_i2c.c i2c: ihs_i2c: Fix hold_bus control 2015-11-12 15:59:02 -05:00
intel_i2c.c x86: ivybridge: Use the I2C driver to perform SMbus init 2016-01-24 12:09:41 +08:00
kona_i2c.c
lpc32xx_i2c.c i2c: lpc32xx: correct sanity check for requested bus speed 2015-08-18 13:45:59 -04:00
mv_i2c.c
mv_i2c.h
mvtwsi.c mvtwsi: Fix breakage introduced by "Fix mvtwsi not working on sun6i and newer sunxi SoCs" 2016-01-26 17:58:02 +01:00
mxc_i2c.c i2c: mxc: add a condition in case the parameter is NULL 2016-01-03 16:01:41 +01:00
mxs_i2c.c
omap24xx_i2c.c cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer 2015-05-28 11:17:48 -04:00
omap24xx_i2c.h
pca9564_i2c.c
ppc4xx_i2c.c
rcar_i2c.c
rk_i2c.c rockchip: i2c: Update the driver to use the new clock ID 2016-01-21 20:42:34 -07:00
s3c24x0_i2c.c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
s3c24x0_i2c.h
sandbox_i2c.c sandbox: i2c: search child emul dev and check its uclass id 2015-05-14 19:58:34 -06:00
sh_i2c.c
sh_sh7734_i2c.c
soft_i2c.c i2c: soft_i2c: Fix bus indizes 2015-11-12 18:04:12 -05:00
tegra_i2c.c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
tsi108_i2c.c
zynq_i2c.c i2c: Instantiate I2C controllers when selected 2015-10-28 09:53:49 +01:00