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:
29ce05a
)
td8801:modify gsensor orientation
author
lw
<lw@rock-chips.com>
Tue, 20 Dec 2011 03:28:30 +0000
(11:28 +0800)
committer
lw
<lw@rock-chips.com>
Tue, 20 Dec 2011 03:28:30 +0000
(11:28 +0800)
arch/arm/mach-rk29/board-rk29-td8801_v2.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/board-rk29-td8801_v2.c
b/arch/arm/mach-rk29/board-rk29-td8801_v2.c
index 032c23796ac35052ef1204565b04c3b4eea7fc4d..7eec138bbb45a3a764d73961a72afcf0a426ca80 100755
(executable)
--- a/
arch/arm/mach-rk29/board-rk29-td8801_v2.c
+++ b/
arch/arm/mach-rk29/board-rk29-td8801_v2.c
@@
-674,9
+674,9
@@
static struct bma023_platform_data bma023_info = {
.model= 023,
.swap_xy = 0,
.swap_xyz = 1,
- .orientation = {1,0,0,
+ .orientation = {
-
1,0,0,
0,0,1,
- 0,1,0},
+ 0,
-
1,0},
.init_platform_hw= bma023_init_platform_hw,
};