commit | 60ff81522f01164221c77afb10f17305155d5534 | [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:31 2025 +0000 |
tree | 6280233f1196f36986d501210f619f060679f6c3 | |
parent | 4189364849b5ec6a7eb951637040dd94194a4e33 [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)