From 8ec038a6a590c8ac66137502766ba10334c531e9 Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Thu, 28 Jun 2012 04:30:22 +0000 Subject: [PATCH] i2c: deblock i2c bus also if accessed before realocation If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck cc: Heiko Schocher cc: Valentin Longchamp --- common/cmd_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 2cdc4eda8b..795814d88f 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -1445,6 +1445,7 @@ int i2c_mux_ident_muxstring_f (uchar *buf) oldpos = pos; } + i2c_init_board(); return 0; } -- 2.39.5