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:
9796e33
)
K97:alter orientation of gsensor
author
杨云
<yangyun@rock-chips.com>
Tue, 31 Jan 2012 08:08:53 +0000
(16:08 +0800)
committer
yangyun
<yangyun@rock-chips.com>
Tue, 31 Jan 2012 08:10:04 +0000
(16:10 +0800)
arch/arm/mach-rk29/board-rk29-k97.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/board-rk29-k97.c
b/arch/arm/mach-rk29/board-rk29-k97.c
index 213e3b3b2a879becff79966d4456cc2b8b8e64df..a2a6aee5b00e4c8a3bf05e35073435459be07317 100755
(executable)
--- a/
arch/arm/mach-rk29/board-rk29-k97.c
+++ b/
arch/arm/mach-rk29/board-rk29-k97.c
@@
-1020,8
+1020,8
@@
static int mma8452_init_platform_hw(void)
static struct mma8452_platform_data mma8452_info = {
.model= 8452,
.swap_xyz= 1,
- .swap_xy=
1
,
- .orientation ={
-1,0,0,0,1,0,0,0,-1
},
+ .swap_xy=
0
,
+ .orientation ={
1,0,0,0,0,1,0,-1,0
},
.init_platform_hw= mma8452_init_platform_hw,
};