Skip to content

Commit

Permalink
ARM: Tegra: Seaboard: Fix I2C bus numbering for ADT7461
Browse files Browse the repository at this point in the history
Bus number 4 doesn't exist in the mainline kernel. The device is
attached to bus number 3. (In the ChromeOS kernel, one of the I2C
busses is split in two with a mux, this pushing all later busses
to a higher bus number. In this case, 4 is the correct bus number
for the ADT7461).

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Stephen Warren authored and Arnd Bergmann committed Jul 19, 2011
1 parent 3a2eef8 commit 29e9c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/board-seaboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static void __init seaboard_i2c_init(void)

i2c_register_board_info(0, &isl29018_device, 1);

i2c_register_board_info(4, &adt7461_device, 1);
i2c_register_board_info(3, &adt7461_device, 1);

tegra_i2c_device1.dev.platform_data = &seaboard_i2c1_platform_data;
tegra_i2c_device2.dev.platform_data = &seaboard_i2c2_platform_data;
Expand Down

0 comments on commit 29e9c68

Please sign in to comment.