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:
eea4b77
)
rk30sdk:modify gsensor orientation
author
lw
<lw@rock-chips.com>
Mon, 26 Mar 2012 06:47:52 +0000
(14:47 +0800)
committer
lw
<lw@rock-chips.com>
Mon, 26 Mar 2012 06:47:52 +0000
(14:47 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk30-sdk.c
b/arch/arm/mach-rk30/board-rk30-sdk.c
index 49ad136d9ef16146cb882c27e6edc3e3942a2fb8..0bd00a57b382c9b47934dd23b84ab5fc11d94896 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk30-sdk.c
+++ b/
arch/arm/mach-rk30/board-rk30-sdk.c
@@
-365,7
+365,7
@@
static struct mma8452_platform_data mma8452_info = {
.swap_xy = 0,
.swap_xyz = 1,
.init_platform_hw = mma8452_init_platform_hw,
- .orientation = {
-1, 0, 0, 0, 0, 1, 0, -1
, 0},
+ .orientation = {
0, -1, 0, 0, 0, 1, 1, 0
, 0},
};
#endif
#if defined (CONFIG_COMPASS_AK8975)