
7 Dec
2017
7 Dec
'17
9:26 a.m.
Hello Alan,
Am 29.11.2017 um 04:25 schrieb Alan Ott:
The driver must wait for TXRDY after each byte is pushed into the i2c FIFO before pushing the next byte. Previously this was not done for the first byte, causing a race condition with zeros sometimes being sent for the next byte (which is typically the first actual data byte).
Signed-off-by: Alan Ott alan@softiron.com
drivers/i2c/at91_i2c.c | 2 ++ 1 file changed, 2 insertions(+)
Thanks!
Reviewed-by: Heiko Schocher hs@denx.de
bye, Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de