From 9371af1a589cb4988faa47efa21c2ee5814574cf Mon Sep 17 00:00:00 2001 From: Dan Murphy Date: Mon, 28 Jun 2010 13:51:40 -0500 Subject: [PATCH] [ARM] Stingray board file: Modify the axis map to dictate the correct orientation Change the axis_map values so that the orientation of the gyroscope to match Android's expectations Change-Id: I171a37c814b8210637f97eba5ed6645c09073e89 Signed-off-by: Dan Murphy --- arch/arm/mach-tegra/board-stingray-sensors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-sensors.c b/arch/arm/mach-tegra/board-stingray-sensors.c index 397d3b64e399..a0202bce2adb 100755 --- a/arch/arm/mach-tegra/board-stingray-sensors.c +++ b/arch/arm/mach-tegra/board-stingray-sensors.c @@ -300,9 +300,9 @@ struct l3g4200d_platform_data stingray_gyro_pdata = { .int_th_z_l = 0x00, .int_duration = 0x00, - .axis_map_x = 0, + .axis_map_x = 1, .axis_map_y = 0, - .axis_map_z = 0, + .axis_map_z = 2, .negate_x = 0, .negate_y = 0, -- 2.34.1