Skip to content
Commit 2ccc1eab authored by Etienne Carriere's avatar Etienne Carriere Committed by Dan Kalowsky
Browse files

drivers: i2c: stm32: I2C transaction first transfer must set RESTART flag



The first transfer in an I2C transaction series must always set
the RESTART flag. Since this is not always done by callers,
enforce the flag is set, both in the I2C API and RTIO API entry
points of STM32 I2C RTIO drivers.

Add a sanity test in STM32 I2C v2 RTIO driver on transaction
chunks regarding RESTART and STOP flags, as done on the non-RTIO
driver.


Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
parent 56a0160e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment