commit | bacec8bd4a04ee473236fa31f9f25754bffa64b4 | [log] [tgz] |
---|---|---|
author | Jean Nanchen <jean.nanchen@hevs.ch> | Mon May 26 19:11:50 2025 +0200 |
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | Tue May 27 11:02:27 2025 +0000 |
tree | bc1c58454d7c409a5f860add88bd7e6ef9c78188 | |
parent | c08390df71eee260c1b273d69f8dadc0ffb1d730 [diff] |
drivers: i2c: stm32: add timeout to avoid infinite loop Fix issue where STM32 I2C LL driver could block forever when SDA and SCL are shorted and interrupts are disabled (CONFIG_I2C_STM32_INTERRUPT=n). Added timeouts to all blocking wait loops in the STM32 LL I2C driver to avoid indefinite blocking. Fixes #88506 Signed-off-by: Jean Nanchen <jean.nanchen@hevs.ch> (cherry picked from commit 2066b8c7b9b5b149d6395a57282202c534f4eb8b)