[U-Boot] [PATCH 1/2] i2c: at91_i2c: Wait for TXRDY after sending the first byte
Heiko Schocher
hs at denx.de
Thu Dec 7 12:21:18 UTC 2017
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 at softiron.com>
> ---
> drivers/i2c/at91_i2c.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied to u-boot-i2c master
Thanks!
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 at denx.de
More information about the U-Boot
mailing list