i2c: deblock i2c bus also if accessed before realocation
authorHolger Brunck <holger.brunck@keymile.com>
Thu, 28 Jun 2012 04:30:22 +0000 (04:30 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:40:15 +0000 (07:40 +0200)
commit8ec038a6a590c8ac66137502766ba10334c531e9
tree1c18a38f5a010e7aa6fe3ccbf527b09b7c852a33
parentb98b611502f5e0a85a1f8e15cf46c470cb105614
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>
common/cmd_i2c.c