diff options
author | Pavel Nedev <pnedev@mm-sol.com> | 2011-12-06 13:32:10 +0200 |
---|---|---|
committer | Dan Murphy <dmurphy@ti.com> | 2011-12-08 12:16:03 -0600 |
commit | 042a2c41c2445220892ac0562de286dd955ebed9 (patch) | |
tree | 6ceacdc2d88ca1a72d96d6af68db603014e8c7c3 | |
parent | 9b49b7887684368afa374bab7d5a6979c4d095e2 (diff) | |
download | kernel_samsung_espresso10-042a2c41c2445220892ac0562de286dd955ebed9.zip kernel_samsung_espresso10-042a2c41c2445220892ac0562de286dd955ebed9.tar.gz kernel_samsung_espresso10-042a2c41c2445220892ac0562de286dd955ebed9.tar.bz2 |
OMAP4 Blaze Board: I2C bus 1 issue fix
Fixed issue with registering I2C bus 1 on Blaze board during init time -
bus 1 was registered twice that was leading to i2c boardinfo data loss.
Change-Id: I6a93b60792301a15d09b8a1c133e70fa73a2abdd
Signed-off-by: Pavel Nedev <pnedev@mm-sol.com>
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index ece5038..5975e66 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -899,7 +899,7 @@ static int __init omap4_i2c_init(void) omap_register_i2c_bus_board_data(4, &sdp4430_i2c_4_bus_pdata); omap4_pmic_init("twl6030", &sdp4430_twldata); - omap_register_i2c_bus(1, 400, sdp4430_i2c_boardinfo, + i2c_register_board_info(1, sdp4430_i2c_boardinfo, ARRAY_SIZE(sdp4430_i2c_boardinfo)); omap_register_i2c_bus(2, 400, NULL, 0); omap_register_i2c_bus(3, 400, sdp4430_i2c_3_boardinfo, |