[ARM] Stingray sensor board file: Correct part placement settings.
authormakarand.karvekar <makarand.karvekar@motorola.com>
Fri, 9 Jul 2010 15:57:03 +0000 (10:57 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:18 +0000 (16:33 -0700)
kxtf9 is placed in position 1 Top-Bottom.
Corrected placement settings.

Change-Id: I7216fee62efd6a14254e33c6cc77ec92b91200f9
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-sensors.c

index a0202bce2adb13c0a804cfcb99d86e90901226cd..6597bdf1ce28bad48a896f8daae79699a35d74a8 100755 (executable)
@@ -149,17 +149,17 @@ struct kxtf9_platform_data stingray_kxtf9_pdata = {
 
        .g_range        = KXTF9_G_8G,
 
-       .axis_map_x     = 1,
-       .axis_map_y     = 0,
+       .axis_map_x     = 0,
+       .axis_map_y     = 1,
        .axis_map_z     = 2,
 
        .negate_x       = 0,
        .negate_y       = 0,
-       .negate_z       = 1,
+       .negate_z       = 0,
 
 
        .data_odr_init          = ODR12_5,
-       .ctrl_reg1_init         = RES_12BIT | KXTF9_G_2G | TPE | WUFE | TDTE,
+       .ctrl_reg1_init         = RES_12BIT | KXTF9_G_2G | WUFE,
        .int_ctrl_init          = IEA | IEN,
        .tilt_timer_init        = 0x03,
        .engine_odr_init        = OTP12_5 | OWUF50 | OTDT400,