rk3188 ds1006h:fix mma8452
authorwuhao <wuhao@wuhao@rock-chips.com>
Sat, 26 Jan 2013 13:51:10 +0000 (21:51 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Sat, 26 Jan 2013 13:51:10 +0000 (21:51 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index f783972583706602d5e8643bcda168a04fa3293e..2efcfa45de04832edfd981b841b8f1680fc1576d 100755 (executable)
@@ -233,7 +233,7 @@ static struct sensor_platform_data mma8452_info = {
        .irq_enable = 1,
        .poll_delay_ms = 30,
         .init_platform_hw = mma8452_init_platform_hw,
-        .orientation = {-1, 0, 0, 0, 0, 1, 0, 1, 0},
+        .orientation = {-1, 0, 0, 0, 0, -1, 0, 1, 0},
 };
 #endif
 #if defined (CONFIG_GS_LIS3DH)