I2C: mv_i2c: fix multi-bus init issue
authorLei Wen <leiwen@marvell.com>
Fri, 30 Sep 2011 05:44:12 +0000 (05:44 +0000)
committerHeiko Schocher <hs@denx.de>
Mon, 3 Oct 2011 09:50:09 +0000 (11:50 +0200)
commitd308c9d35aee2578d0a69a9ecb8bc7fd7df8fa2d
treec5fdd8ec8755a96abbfe9bcad001a058be5deb98
parent2be1ed349ca268d3867840fd28960785fd3def0b
I2C: mv_i2c: fix multi-bus init issue

When enable the multi-bus, the current_bus is not inited in the original
implementation, which make the i2c operation unpredicatable.

Signed-off-by: Lei Wen <leiwen@marvell.com>
drivers/i2c/mv_i2c.c