i2c: add i2c deblock sequence before and after every mux config
authorStefan Bigler <stefan.bigler@keymile.com>
Fri, 8 Apr 2011 14:24:08 +0000 (16:24 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 28 Apr 2011 08:56:54 +0000 (10:56 +0200)
commitc649dda537a1a585e51066169e6fdb67e2b8f59e
tree3e9059b78166e3b1e2e083948107a36d902e4959
parenta000b7950da938d2df37ec5e081cd0680e6e4bbe
i2c: add i2c deblock sequence before and after every mux config

To make sure that the mux can be configured a deblocking sequence
is done before the mux configuration. After the mux switch the new leaf
of, the i2c tree must be again deblocked.

Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
common/cmd_i2c.c
include/i2c.h