From: Dan Murphy <wldm10@motorola.com> Date: Mon, 28 Jun 2010 18:51:40 +0000 (-0500) Subject: [ARM] Stingray board file: Modify the axis map to dictate the correct orientation X-Git-Tag: firefly_0821_release~9834^2~813 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9371af1a589cb4988faa47efa21c2ee5814574cf;p=firefly-linux-kernel-4.4.55.git [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 <wldm10@motorola.com> --- 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,