summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-sensors.c
diff options
context:
space:
mode:
authorAli Ekici <aekici@nvidia.com>2011-08-31 17:01:03 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:49 -0800
commit951fd2f567a11a692200e16e187cf72ca2bea127 (patch)
treeaff40dac550f4160852f9f886af0815cf3d0dbea /arch/arm/mach-tegra/board-cardhu-sensors.c
parentaaa03cbf9ca43689e49d86ebcd6f3a51c4d757f4 (diff)
arm: tegra: cardhu: Fix E-Compass orientation
E-Compass does not show correct North-South direction Fix orientation in board file Bug 842788 Original-Change-Id: I6a492719afc79f8268f27fb82ee488952ffc9813 Reviewed-on: http://git-master/r/50313 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R469ffa6c1996eefcc260d4125c1cada9b2c15704
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sensors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c
index 2f8729e16e96..58096180ec8a 100644
--- a/arch/arm/mach-tegra/board-cardhu-sensors.c
+++ b/arch/arm/mach-tegra/board-cardhu-sensors.c
@@ -733,7 +733,7 @@ static struct mpu3050_platform_data mpu3050_data = {
.adapt_num = 2,
.bus = EXT_SLAVE_BUS_PRIMARY,
.address = 0x0C,
- .orientation = { 0, -1, 0, 1, 0, 0, 0, 0, 1 }, /* Orientation matrix for AKM on cardhu */
+ .orientation = { 1, 0, 0, 0, 1, 0, 0, 0, 1 }, /* Orientation matrix for AKM on cardhu */
},
};