From 8dabe7ef2d5b99cd0a3ff70e2c119fdf41e04d07 Mon Sep 17 00:00:00 2001 From: heyun Date: Wed, 10 Aug 2011 14:53:18 +0800 Subject: [PATCH] Change GSensor Axis: swap x,y for mma8452 --- arch/arm/mach-rk29/board-rk29-ddr3sdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rk29/board-rk29-ddr3sdk.c b/arch/arm/mach-rk29/board-rk29-ddr3sdk.c index f4e883fa9fee..06a4a62e2b9b 100755 --- a/arch/arm/mach-rk29/board-rk29-ddr3sdk.c +++ b/arch/arm/mach-rk29/board-rk29-ddr3sdk.c @@ -492,7 +492,7 @@ static int mma8452_init_platform_hw(void) static struct mma8452_platform_data mma8452_info = { .model= 8452, - .swap_xy = 0, + .swap_xy = 1, .init_platform_hw= mma8452_init_platform_hw, }; -- 2.34.1