td8801:modify gsensor orientation
authorlw <lw@rock-chips.com>
Tue, 20 Dec 2011 03:28:30 +0000 (11:28 +0800)
committerlw <lw@rock-chips.com>
Tue, 20 Dec 2011 03:28:30 +0000 (11:28 +0800)
arch/arm/mach-rk29/board-rk29-td8801_v2.c

index 032c23796ac35052ef1204565b04c3b4eea7fc4d..7eec138bbb45a3a764d73961a72afcf0a426ca80 100755 (executable)
@@ -674,9 +674,9 @@ static struct bma023_platform_data bma023_info = {
   .model= 023,
   .swap_xy = 0,
   .swap_xyz = 1,
-  .orientation = {1,0,0,
+  .orientation = {-1,0,0,
                           0,0,1,
-                          0,1,0},
+                          0,-1,0},
   .init_platform_hw= bma023_init_platform_hw,
 
 };