From 07b248fc6deae1ccff9d0fa867b9f1f4b1f603c7 Mon Sep 17 00:00:00 2001 From: wuhao Date: Sat, 26 Jan 2013 21:51:10 +0800 Subject: [PATCH] rk3188 ds1006h:fix mma8452 --- arch/arm/mach-rk3188/board-rk3188-ds1006h.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index f78397258370..2efcfa45de04 100755 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -233,7 +233,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, 0, -1, 0, 1, 0}, }; #endif #if defined (CONFIG_GS_LIS3DH) -- 2.34.1