From: wbx Date: Thu, 14 Mar 2013 02:55:09 +0000 (+0800) Subject: rk 3188: fix board-rk3168-tb.c for sensor X-Git-Tag: firefly_0821_release~7413 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f780555f86974af8f7c9fe99a451e4a277c0dc1;p=firefly-linux-kernel-4.4.55.git rk 3188: fix board-rk3168-tb.c for sensor --- 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)