qemu/hw/i2c
Linus Walleij 839a2b28d0 hw/i2c-ddc: Do not fail writes
The tx function of the DDC I2C slave emulation was returning 1
on all writes resulting in NACK in the I2C bus. Changing it to
0 makes the DDC I2C work fine with bit-banged I2C such as the
versatile I2C.

I guess it was not affecting whatever I2C controller this was
used with until now, but with the Versatile I2C it surely
does not work.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Message-id: 20180227104903.21353-4-linus.walleij@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-03-01 11:05:45 +00:00
..
aspeed_i2c.c aspeed/i2c: introduce a state machine 2017-06-02 11:51:49 +01:00
bitbang_i2c.c
bitbang_i2c.h
core.c i2c: Move the bus class to i2c.h 2018-03-01 11:05:45 +00:00
exynos4210_i2c.c
i2c-ddc.c hw/i2c-ddc: Do not fail writes 2018-03-01 11:05:45 +00:00
imx_i2c.c
Makefile.objs i2c: Add a CONFIG_I2C master switch to the configuration files 2018-02-05 18:09:45 +01:00
omap_i2c.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
pm_smbus.c Merge remote-tracking branch 'origin/master' into HEAD 2018-01-11 22:03:50 +02:00
ppc4xx_i2c.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
smbus_eeprom.c
smbus_ich9.c hw/i2c: remove old i386 dependency 2017-12-18 17:07:02 +03:00
smbus.c
versatile_i2c.c