Home
last modified time | relevance | path

Searched hist:"0 afbb0e1c01382f4bcd728ecbd4e49a928dbbccb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dat91_i2c.cdiff 0afbb0e1c01382f4bcd728ecbd4e49a928dbbccb Tue Nov 28 21:25:23 CST 2017 Alan Ott <alan@softiron.com> i2c: at91_i2c: Wait for TXRDY after sending the first byte

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>
Reviewed-by: Heiko Schocher <hs@denx.de>