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:
3a1dcb5
)
rk30sdk:gsensor rotate 270 degree
author
lw
<lw@rock-chips.com>
Thu, 29 Mar 2012 02:30:46 +0000
(10:30 +0800)
committer
lw
<lw@rock-chips.com>
Thu, 29 Mar 2012 02:30:46 +0000
(10:30 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk30-sdk.c
b/arch/arm/mach-rk30/board-rk30-sdk.c
old mode 100644
(file)
new mode 100755
(executable)
index
b859d20
..
9f19805
--- a/
arch/arm/mach-rk30/board-rk30-sdk.c
+++ b/
arch/arm/mach-rk30/board-rk30-sdk.c
@@
-471,7
+471,7
@@
static struct mma8452_platform_data mma8452_info = {
.swap_xy = 0,
.swap_xyz = 1,
.init_platform_hw = mma8452_init_platform_hw,
- .orientation = {
0, -1, 0, 0, 0, 1, 1, 0
, 0},
+ .orientation = {
-1, 0, 0, 0, 0, -1, 0, -1
, 0},
};
#endif
#if defined (CONFIG_COMPASS_AK8975)