i2c, soft_i2c: deblock bus if switching to another i2c bus
authorHeiko Schocher <hs@denx.de>
Fri, 8 Apr 2011 14:24:09 +0000 (16:24 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 28 Apr 2011 08:57:08 +0000 (10:57 +0200)
commit4bd5566ee89c906022215dc0064beb0d6c128060
treed9e51065dfd83102dd139c55cb2cc2fc27ceb801
parentc649dda537a1a585e51066169e6fdb67e2b8f59e
i2c, soft_i2c: deblock bus if switching to another i2c bus

Deblock i2c bus when switching to another i2c bus, if using
i2c_set_bus_num().

Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
drivers/i2c/soft_i2c.c