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:
dccd70e
)
k97:alter gsensor orientation
author
yangyun
<yangyun@rock-chips.com>
Sat, 4 Feb 2012 07:45:10 +0000
(15:45 +0800)
committer
yangyun
<yangyun@rock-chips.com>
Sat, 4 Feb 2012 07:45:10 +0000
(15:45 +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 412ff3ae6a2dee2f83be9c9f6112b7bb0e70217e..39bbfaf2068cad60352ae37b65ee6dcc137c3eb6 100755
(executable)
--- a/
arch/arm/mach-rk29/board-rk29-k97.c
+++ b/
arch/arm/mach-rk29/board-rk29-k97.c
@@
-1021,7
+1021,7
@@
static struct mma8452_platform_data mma8452_info = {
.model= 8452,
.swap_xyz= 1,
.swap_xy=0,
- .orientation ={1,0,0,0,0,1,0,-1,0},
+ .orientation ={1,0,0,0,0,
-
1,0,-1,0},
.init_platform_hw= mma8452_init_platform_hw,
};