Home
last modified time | relevance | path

Searched hist:"646 c0a2b7cc4a8450d367e64e3721d8d909bb103" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_i2c.c646c0a2b7cc4a8450d367e64e3721d8d909bb103 Thu Aug 18 11:08:05 UTC 2022 Jorge Ramirez-Ortiz <jorge@foundries.io> drivers: stm32_i2c: fix read operations on I2C_MODE_MASTER mode

One of the valid conditions that leads to the generation of a NACK
is when the controller-receiver signals the end of the transfer
to the target transmitter.

The code being fixed - not clearing the NACK - was causing subsequent
write operations to fail.

This has been validated using the NXP SE050 device.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>