arm: tegra: cardhu: Enabling mpu3050 for all
Alon Farchy [Fri, 15 Jul 2011 23:11:09 +0000 (16:11 -0700)]
MPU sensors were disabled for boards other than cardhu e1291.
This was because of a bug in the sensor device code, which
is fixed in change Ib86327c4. The commit re-enables MPU sensors for
other boards.

Bug 845739
Bug 828100

Original-Change-Id: Idcad7c07b48560b8876a589b1d6dee4b401b1141
Reviewed-on: http://git-master/r/41962
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Alon Farchy <afarchy@nvidia.com>

Rebase-Id: R49f9c3c52c39d3763b1f3e6b1a888701744b9937

arch/arm/mach-tegra/board-cardhu-sensors.c

index a53311a..4fa85fe 100644 (file)
@@ -703,9 +703,6 @@ static struct i2c_board_info __initdata mpu3050_i2c0_boardinfo[] = {
 
 static void cardhu_mpuirq_init(void)
 {
-       if (board_info.board_id != BOARD_E1291)
-               return;
-
        pr_info("*** MPU START *** cardhu_mpuirq_init...\n");
        tegra_gpio_enable(TEGRA_GPIO_PX1);
        gpio_request(TEGRA_GPIO_PX1, SENSOR_MPU_NAME);