drivers: i2c: stm32: disable error interrupts for RTIO

Add missing disable of I2C error interrupt when disabling I2C interrupts
in STM32 v1 and v2 RTIO drivers.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
This commit is contained in:
Etienne Carriere 2025-06-16 09:25:26 +02:00 committed by Benjamin Cabé
commit ba4b9819f5
2 changed files with 2 additions and 0 deletions

View file

@ -38,6 +38,7 @@ static void i2c_stm32_disable_transfer_interrupts(const struct device *dev)
LL_I2C_DisableIT_RX(i2c);
LL_I2C_DisableIT_EVT(i2c);
LL_I2C_DisableIT_BUF(i2c);
LL_I2C_DisableIT_ERR(i2c);
}
static void i2c_stm32_enable_transfer_interrupts(const struct device *dev)

View file

@ -37,6 +37,7 @@ static void i2c_stm32_disable_transfer_interrupts(const struct device *dev)
LL_I2C_DisableIT_STOP(i2c);
LL_I2C_DisableIT_NACK(i2c);
LL_I2C_DisableIT_TC(i2c);
LL_I2C_DisableIT_ERR(i2c);
}
static void i2c_stm32_enable_transfer_interrupts(const struct device *dev)