qemu/hw/i2c
Corey Minyard 2ac4c5f4d2 i2c: have I2C receive operation return uint8_t
It is never supposed to fail and cannot return an error, so just
have it return the proper type.  Have it return 0xff on nothing
available, since that's what would happen on a real bus.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-02-27 21:06:08 -06:00
..
aspeed_i2c.c aspeed/i2c: Fix receive done interrupt handling 2018-09-25 14:14:07 +01:00
bitbang_i2c.c hw/i2c/bitbang_i2c: Handle NACKs from devices 2016-11-07 10:01:15 +00:00
bitbang_i2c.h i2c: Move typedef of bitbang_i2c_interface to i2c.h 2018-12-12 10:01:13 +01:00
core.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
exynos4210_i2c.c hw/i2c: QOM'ify exynos4210_i2c.c 2016-06-14 15:59:13 +01:00
i2c-ddc.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
imx_i2c.c arm: Uniquely name imx25 I2C buses. 2017-01-20 11:15:06 +00:00
Makefile.objs i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
microbit_i2c.c arm: Stub out NRF51 TWI magnetometer/accelerometer detection 2019-01-29 11:46:03 +00:00
omap_i2c.c hw/i2c/omap_i2c: Use qemu_log_mask(UNIMP) instead of fprintf 2018-06-26 17:50:40 +01:00
pm_smbus.c i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
ppc4xx_i2c.c ppc4xx_i2c: Rewrite to model hardware more closely 2018-07-03 09:56:52 +10:00
smbus_eeprom.c i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_ich9.c i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_master.c i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_slave.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
trace-events hw/i2c: Add trace events 2018-06-08 13:15:33 +01:00
versatile_i2c.c hw/i2c: QOM'ify versatile_i2c.c 2016-06-14 15:59:13 +01:00