From 8460fc2e6d4439aa3808ed053f0c42e07f1066c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E6=9D=A8=E4=BA=91?= Date: Tue, 31 Jan 2012 16:08:53 +0800 Subject: [PATCH] K97:alter orientation of gsensor --- arch/arm/mach-rk29/board-rk29-k97.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk29/board-rk29-k97.c b/arch/arm/mach-rk29/board-rk29-k97.c index 213e3b3b2a87..a2a6aee5b00e 100755 --- a/arch/arm/mach-rk29/board-rk29-k97.c +++ b/arch/arm/mach-rk29/board-rk29-k97.c @@ -1020,8 +1020,8 @@ static int mma8452_init_platform_hw(void) static struct mma8452_platform_data mma8452_info = { .model= 8452, .swap_xyz= 1, - .swap_xy=1, - .orientation ={-1,0,0,0,1,0,0,0,-1}, + .swap_xy=0, + .orientation ={1,0,0,0,0,1,0,-1,0}, .init_platform_hw= mma8452_init_platform_hw, }; -- 2.34.1