rk 3188: fix board-rk3168-tb.c for sensor
authorwbx <wbx@rock-chips.com>
Thu, 14 Mar 2013 02:55:09 +0000 (10:55 +0800)
committerwbx <wbx@rock-chips.com>
Thu, 14 Mar 2013 02:55:09 +0000 (10:55 +0800)
arch/arm/mach-rk30/board-rk3168-tb.c

index de07a939e2a10a2aa74f11de10999c8bae9a6571..b5e8d6a58950af2a771af8ce25635f7a102403ae 100755 (executable)
@@ -376,7 +376,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, -1, 0, 0, 0, 1},
 };
 #endif
 #if defined (CONFIG_GS_LIS3DH)
@@ -393,7 +393,7 @@ static struct sensor_platform_data lis3dh_info = {
        .irq_enable = 1,
        .poll_delay_ms = 30,
         .init_platform_hw = lis3dh_init_platform_hw,
-       .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0},
+       .orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1},
 };
 #endif
 #if defined (CONFIG_COMPASS_AK8975)