rk2928: gsensor: fix orientation
authorkfx <kfx@rock-chips.com>
Tue, 28 Aug 2012 01:54:31 +0000 (09:54 +0800)
committerkfx <kfx@rock-chips.com>
Tue, 28 Aug 2012 01:54:31 +0000 (09:54 +0800)
arch/arm/mach-rk2928/board-rk2928-a720.c

index 8f60b7af22ba0750ad50de4e00aba7701fa45288..4d00381f74dc5c8be4ac6e817d2722a898015310 100755 (executable)
@@ -315,7 +315,7 @@ static struct sensor_platform_data mma7660_info = {
        .irq_enable = 1,
        .poll_delay_ms = 30,
         .init_platform_hw = mma7660_init_platform_hw,
-        .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0},
+        .orientation = {-1, 0, 0, 0, 0, -1, 0, 1, 0},
 };
 #endif