summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Farchy <afarchy@nvidia.com>2011-07-15 16:11:09 -0700
committerRyan Wong <ryanw@nvidia.com>2011-07-28 18:20:09 -0700
commitb7deb97884086b1856beaa1af9535c98916df4bb (patch)
tree51d701d5b4bdde84df823c21fdf0b6310f02bc56
parentabfcb40a2f160546450c86b7cf58e933970f07de (diff)
arm: tegra: cardhu: Enabling mpu3050 for all
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 Change-Id: I2062598715f820470b05d66ffb2ed4a4a1650eeb Reviewed-on: http://git-master/r/43843 Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sensors.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c
index a53311a830ee..4fa85fef6715 100644
--- a/arch/arm/mach-tegra/board-cardhu-sensors.c
+++ b/arch/arm/mach-tegra/board-cardhu-sensors.c
@@ -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);