Files
u-boot/drivers
Alain Volmat 3bf699f7a8 i2c: stm32: do not set the STOP condition on error
Current function stm32_i2c_message_xfer is sending a STOP
whatever the result of the transaction is.  This can cause issues
such as making the bus busy since the controller itself is already
sending automatically a STOP when a NACK is generated.

Thanks to Jorge Ramirez-Ortiz for diagnosing and proposing a first
fix for this. [1]

[1] https://lore.kernel.org/u-boot/20220815145211.31342-2-jorge@foundries.io/

Reported-by: Jorge Ramirez-Ortiz, Foundries <jorge@foundries.io>
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Tested-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2022-09-15 14:59:22 +02:00
..
2022-04-25 09:25:00 +02:00
2022-08-04 16:18:47 -04:00
2022-08-04 16:18:47 -04:00
2022-08-09 08:58:27 +02:00
2022-01-13 07:57:49 -05:00
2022-09-02 13:25:01 +02:00
2022-01-13 07:57:49 -05:00
2022-09-07 13:44:55 +08:00
2022-08-26 15:00:05 -04:00
2022-09-02 13:25:01 +02:00
2022-08-23 12:39:00 +02:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00