rk30sdk:gsensor rotate 270 degree
authorlw <lw@rock-chips.com>
Thu, 29 Mar 2012 02:30:46 +0000 (10:30 +0800)
committerlw <lw@rock-chips.com>
Thu, 29 Mar 2012 02:30:46 +0000 (10:30 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index b859d20..9f19805
@@ -471,7 +471,7 @@ static struct mma8452_platform_data mma8452_info = {
        .swap_xy = 0,
        .swap_xyz = 1,
        .init_platform_hw = mma8452_init_platform_hw,
-       .orientation = {0, -1, 0, 0, 0, 1, 1, 0, 0},
+       .orientation = {-1, 0, 0, 0, 0, -1, 0, -1, 0},
 };
 #endif
 #if defined (CONFIG_COMPASS_AK8975)