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
..
Makefile.objs
aspeed_i2c.c
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
omap_i2c.c
pm_smbus.c
ppc4xx_i2c.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
smbus.c
smbus_eeprom.c
smbus_ich9.c
versatile_i2c.c