This code will also be used before reallocation and during this time we
are not allowed to do these printings.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
Acked-by: Heiko Schocher <hs@denx.de>
sda_state = get_sda();
if (scl_state && sda_state) {
ret = 0;
- printf("[INFO] i2c abort after %d clocks\n", i);
break;
}
}
if (ret == 0)
for (i = 0; i < 5; i++)
i2c_write_start_seq();
- else
- printf("[ERROR] i2c abort failed\n");
/* respect stop setup time */
udelay(DELAY_ABORT_SEQ);