ARM: tegra: Change pm269 board structure configs
Sudhir Vyas [Mon, 18 Jun 2012 11:24:49 +0000 (16:24 +0530)]
* NVC config change added to make code inline with
generic NVC framework, but it is introducing camera
crash after reboot issue on pm269.

* Make code identical to what was there earlier to fix
above regression.

Bug 998465

Change-Id: I8510ef3427b218481c5e36c952056dda799080f6
Signed-off-by: Sudhir vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/109523
(cherry picked from commit 7e642946895848829bb6405bc675062c86907eb4)
Reviewed-on: http://git-master/r/110087
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

index c907ae9..e4035f5 100644 (file)
@@ -576,7 +576,7 @@ static struct nvc_gpio_pdata pm269_sh532u_left_gpio_pdata[] = {
 };
 
 static struct sh532u_platform_data pm269_sh532u_left_pdata = {
-       .cfg            = NVC_CFG_NODEV,
+       .cfg            = 0,
        .num            = 1,
        .sync           = 2,
        .dev_name       = "focuser",
@@ -589,7 +589,7 @@ static struct nvc_gpio_pdata pm269_sh532u_right_gpio_pdata[] = {
 };
 
 static struct sh532u_platform_data pm269_sh532u_right_pdata = {
-       .cfg            = NVC_CFG_NODEV,
+       .cfg            = 0,
        .num            = 2,
        .sync           = 1,
        .dev_name       = "focuser",
@@ -602,7 +602,7 @@ static struct nvc_gpio_pdata ad5816_gpio_pdata[] = {
 };
 
 static struct ad5816_platform_data ad5816_left_pdata = {
-       .cfg            = NVC_CFG_NODEV,
+       .cfg            = 0,
        .num            = 1,
        .sync           = 2,
        .dev_name       = "focuser",
@@ -611,7 +611,7 @@ static struct ad5816_platform_data ad5816_left_pdata = {
 };
 
 static struct ad5816_platform_data ad5816_right_pdata = {
-       .cfg            = NVC_CFG_NODEV,
+       .cfg            = 0,
        .num            = 2,
        .sync           = 1,
        .dev_name       = "focuser",