mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
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 <holger.brunck@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
This commit is contained in:
parent
b98b611502
commit
8ec038a6a5
@ -1445,6 +1445,7 @@ int i2c_mux_ident_muxstring_f (uchar *buf)
|
||||
oldpos = pos;
|
||||
|
||||
}
|
||||
i2c_init_board();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user