Skip to content
Snippets Groups Projects
Commit f9de54e9 authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Heiko Schocher
Browse files

designware_i2c: remove 10msec delay in i2c_xfer_finish


This delay applies to any data transfer on I2C bus.

For example 1kB data read with per-byte access (which happens if
environment is stored in I2C EEPROM) takes more than 10 seconds.

Moreover data bus driver has to care about bus state and data transfer,
but not about internal states of attached devices.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>

Cc: Tom Rini <trini@ti.com>
cc: Armando Visconti <armando.visconti@st.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Heiko Schocher <hs@denx.de>
Cc: Vipin KUMAR <vipin.kumar@st.com>
Cc: Tom Rix <Tom.Rix@windriver.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
parent 8b7c8725
No related branches found
No related tags found
No related merge requests found
...@@ -249,9 +249,6 @@ static int i2c_xfer_finish(void) ...@@ -249,9 +249,6 @@ static int i2c_xfer_finish(void)
i2c_flush_rxfifo(); i2c_flush_rxfifo();
/* Wait for read/write operation to complete on actual memory */
udelay(10000);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment