ARM: tegra: cardhu: sensor: support for rear right camera
Prayas Mohanty [Wed, 13 Apr 2011 07:00:56 +0000 (12:00 +0530)]
- 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

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

index 374afc3..4b7fe61 100644 (file)
@@ -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;