From 5f780555f86974af8f7c9fe99a451e4a277c0dc1 Mon Sep 17 00:00:00 2001 From: wbx Date: Thu, 14 Mar 2013 10:55:09 +0800 Subject: [PATCH] rk 3188: fix board-rk3168-tb.c for sensor --- arch/arm/mach-rk30/board-rk3168-tb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index de07a939e2a1..b5e8d6a58950 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -376,7 +376,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, -1, 0, 0, 0, 1}, }; #endif #if defined (CONFIG_GS_LIS3DH) @@ -393,7 +393,7 @@ static struct sensor_platform_data lis3dh_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = lis3dh_init_platform_hw, - .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0}, + .orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1}, }; #endif #if defined (CONFIG_COMPASS_AK8975) -- 2.34.1