ARM: tegra: pluto: sensor: fix power down issue
Charlie Huang [Mon, 17 Sep 2012 01:16:22 +0000 (18:16 -0700)]
Fixes the issue that the system will crash if the sensors are
powered on the 2nd time.

Change-Id: Iae8c24498a4e0f99e2892a8446204bb51ee8f401
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
(cherry picked from commit 5baf326afb8005d0a40df948b85d96839fa7894a)
Reviewed on http://git-master/r/133134
Reviewed-on: http://git-master/r/141850
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

Rebase-Id: R182dafe519915078f1551f69525f8edf4074ac26

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

index 48af337..30f8c7a 100644 (file)
@@ -47,6 +47,8 @@ static char *pluto_cam_reg_name[] = {
        "avdd_cam2",            /* Analog VDD 2.7V */
        "vdd_1v2_cam",          /* Digital VDD 1.2V */
        "vdd_1v8_cam12",        /* Digital VDDIO 1.8V */
+       "vddio_cam_mb",         /* CAM_I2C PULL-UP VDD 1.8V */
+       "vdd_af_cam1",          /* AF VDD */
 };
 
 static struct regulator *pluto_cam_reg[ARRAY_SIZE(pluto_cam_reg_name)];