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:
parent
5065edb417
commit
ba4b9819f5
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue