Skip to content
Snippets Groups Projects
Commit e69e482b authored by Holger Brunck's avatar Holger Brunck Committed by Heiko Schocher
Browse files

km/common: remove printfs for i2c deblocking code


This code will also be used before reallocation and during this time we
are not allowed to do these printings.

Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
Acked-by: default avatarPrafulla Wadaskar <Prafulla@marvell.com>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent c82b050e
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,6 @@ int i2c_make_abort(void) ...@@ -151,7 +151,6 @@ int i2c_make_abort(void)
sda_state = get_sda(); sda_state = get_sda();
if (scl_state && sda_state) { if (scl_state && sda_state) {
ret = 0; ret = 0;
printf("[INFO] i2c abort after %d clocks\n", i);
break; break;
} }
} }
...@@ -159,8 +158,6 @@ int i2c_make_abort(void) ...@@ -159,8 +158,6 @@ int i2c_make_abort(void)
if (ret == 0) if (ret == 0)
for (i = 0; i < 5; i++) for (i = 0; i < 5; i++)
i2c_write_start_seq(); i2c_write_start_seq();
else
printf("[ERROR] i2c abort failed\n");
/* respect stop setup time */ /* respect stop setup time */
udelay(DELAY_ABORT_SEQ); udelay(DELAY_ABORT_SEQ);
......
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