diff options
author | Prayas Mohanty <pmohanty@nvidia.com> | 2011-04-13 12:30:56 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:46:34 -0800 |
commit | 7c794b5c6d257ac62694e02860abb80613f66d1a (patch) | |
tree | 53576dbe97888de05eb248d87e6557b4346158cc /arch/arm/mach-tegra/board-cardhu-sensors.c | |
parent | 67e36c2aba3e912804f42e81099fe794278e4d8c (diff) |
ARM: tegra: cardhu: sensor: support for rear right camera
- Add support for camera-B.
- Have separate power on/off handler for each camera sensor.
- Remove invidual query for boardId, and bookkeeping boardId information
in a static variable during cardhu_sensors_init.
bug: 787214
bug: 786928
Original-Change-Id: Icc15a4cd6f113dd54adf197498f3b214595a53fd
Reviewed-on: http://git-master/r/27023
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Original-Change-Id: Ie5c06897a4f5c446aeeda168769e80d1a717e479
Rebase-Id: R776d0b86f61ff9c1daa5f2a0388680ca90871107
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sensors.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-sensors.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c index 374afc3bc31e..4b7fe617491e 100644 --- a/arch/arm/mach-tegra/board-cardhu-sensors.c +++ b/arch/arm/mach-tegra/board-cardhu-sensors.c @@ -618,8 +618,6 @@ static struct i2c_board_info __initdata mpu3050_i2c0_boardinfo[] = { static void cardhu_mpuirq_init(void) { - struct board_info board_info; - tegra_get_board_info(&board_info); if (board_info.board_id != BOARD_E1291) return; |