summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-sensors.c
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2013-01-16 10:29:56 +0530
committerMatthew Pedro <mapedro@nvidia.com>2013-01-31 10:21:05 -0800
commite722b2e725a3fd413fc4da578f2b45300d0bfd7e (patch)
tree8f7b9b17cb5a0f1409ac3d4da8cb88df60722ddc /arch/arm/mach-tegra/board-cardhu-sensors.c
parent8c886374c74324c5bd627815126d7df052a8c885 (diff)
arm: tegra: cardhu: no gyro in beaver
Add support for PM315 Bug 1217569 Change-Id: I230fcec04eb5a96441e2c19b304d608d86eaf996 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/191555 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sensors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c
index 365da60fa9ec..08ad0d5fb0fc 100644
--- a/arch/arm/mach-tegra/board-cardhu-sensors.c
+++ b/arch/arm/mach-tegra/board-cardhu-sensors.c
@@ -1131,7 +1131,8 @@ int __init cardhu_sensors_init(void)
i2c_register_board_info(4, cardhu_i2c4_nct1008_board_info,
ARRAY_SIZE(cardhu_i2c4_nct1008_board_info));
- mpuirq_init();
+ if (board_info.board_id != BOARD_PM315)
+ mpuirq_init();
return 0;
}