projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08fefc2
)
phonesdk:modify compass orientation
author
lw
<lw@rock-chips.com>
Tue, 27 Dec 2011 09:37:20 +0000
(17:37 +0800)
committer
lw
<lw@rock-chips.com>
Tue, 27 Dec 2011 09:37:20 +0000
(17:37 +0800)
arch/arm/mach-rk29/board-rk29-phonesdk.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/board-rk29-phonesdk.c
b/arch/arm/mach-rk29/board-rk29-phonesdk.c
index c339033b1a7bbcc3878b78320113bf30286f473f..fdf13b1f41329c91e33df562aba515ec4d674113 100755
(executable)
--- a/
arch/arm/mach-rk29/board-rk29-phonesdk.c
+++ b/
arch/arm/mach-rk29/board-rk29-phonesdk.c
@@
-646,7
+646,7
@@
static struct ext_slave_platform_data inv_mpu_kxtf9_data = {
static struct ext_slave_platform_data inv_mpu_ak8975_data = {
.bus = EXT_SLAVE_BUS_PRIMARY,
.adapt_num = 0,
- .orientation = {
-1, 0, 0, 0, -1
, 0, 0, 0, 1},
+ .orientation = {
0, 1, 0, -1, 0
, 0, 0, 0, 1},
};
#endif