diff options
| author | Heiko Schocher <[email protected]> | 2011-04-08 16:24:09 +0200 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2011-04-28 10:57:08 +0200 |
| commit | 4bd5566ee89c906022215dc0064beb0d6c128060 (patch) | |
| tree | d9e51065dfd83102dd139c55cb2cc2fc27ceb801 /drivers | |
| parent | c649dda537a1a585e51066169e6fdb67e2b8f59e (diff) | |
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 <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/i2c/soft_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index 69b5f42205f..9b02e89e039 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -286,6 +286,7 @@ int i2c_set_bus_num(unsigned int bus) int ret; ret = i2x_mux_select_mux(bus); + i2c_init_board(); if (ret == 0) i2c_bus_num = bus; else |
