summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Ekici <aekici@nvidia.com>2011-08-31 17:01:03 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-09-02 18:09:24 -0700
commitde6832e29629ed4c6ce614b196e3a85ad62f865f (patch)
tree9a08f0f15253c20d2e187570864edfdfabf4ecd2
parent4a77f4129671b2cf94088f27bc9172670e5ed8a0 (diff)
arm: tegra: cardhu: Fix E-Compass orientation
E-Compass does not show correct North-South direction Fix orientation in board file Bug 842788 Change-Id: I6a492719afc79f8268f27fb82ee488952ffc9813 Reviewed-on: http://git-master/r/50313 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
-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 ecb7ba204ca9..8d4868aad3b5 100644
--- a/arch/arm/mach-tegra/board-cardhu-sensors.c
+++ b/arch/arm/mach-tegra/board-cardhu-sensors.c
@@ -734,7 +734,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 */
},
};