mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 11:41:55 +00:00
The I2C drivers handle an empty list of I2C messages inconsistenty. There are two different behaviours, one set of drivers dectects a requests to transfer zero messages and return -EINVAL while the other group simple transfer no data and return success. Adopt the latter behaviour consistently across all drivers. Update the i2c.h API documentation to reflect this behaviour. Change-Id: I427fc1b0e18ddc04b7b59c294e0240b3d6ca4073 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com> |
||
---|---|---|
.. | ||
i2c_atmel_sam3.c | ||
i2c_atmel_sam3.h | ||
i2c_dw_registers.h | ||
i2c_dw.c | ||
i2c_dw.h | ||
i2c_mcux.c | ||
i2c_nrf5.c | ||
i2c_qmsi_ss.c | ||
i2c_qmsi.c | ||
i2c_stm32lx.c | ||
i2c_stm32lx.h | ||
Kconfig | ||
Makefile |