rk30sdk:modify gsensor orientation
authorlw <lw@rock-chips.com>
Mon, 26 Mar 2012 06:47:52 +0000 (14:47 +0800)
committerlw <lw@rock-chips.com>
Mon, 26 Mar 2012 06:47:52 +0000 (14:47 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c

index 49ad136d9ef16146cb882c27e6edc3e3942a2fb8..0bd00a57b382c9b47934dd23b84ab5fc11d94896 100755 (executable)
@@ -365,7 +365,7 @@ static struct mma8452_platform_data mma8452_info = {
        .swap_xy = 0,
        .swap_xyz = 1,
        .init_platform_hw = mma8452_init_platform_hw,
-       .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0},
+       .orientation = {0, -1, 0, 0, 0, 1, 1, 0, 0},
 };
 #endif
 #if defined (CONFIG_COMPASS_AK8975)