Skip to content
Commit 1d6b6759 authored by Khaoula Bidani's avatar Khaoula Bidani Committed by Henrik Brix Andersen
Browse files

drivers: i2c: stm32: Fix STM32 I2C hang on read



ensure LL_I2C_TransmitData8() is always called when
TXIS is set, even if read_processed() returns an error.
This prevents the peripheral from clock-stretching
indefinitely and blocking the I2C bus when the master
reads from the slave.

Signed-off-by: default avatarKhaoula Bidani <khaoula.bidani-ext@st.com>
parent 936876b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment