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:
39fc3bc
)
rk2928: gsensor: fix orientation
author
kfx
<kfx@rock-chips.com>
Tue, 28 Aug 2012 01:54:31 +0000
(09:54 +0800)
committer
kfx
<kfx@rock-chips.com>
Tue, 28 Aug 2012 01:54:31 +0000
(09:54 +0800)
arch/arm/mach-rk2928/board-rk2928-a720.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/board-rk2928-a720.c
b/arch/arm/mach-rk2928/board-rk2928-a720.c
index 8f60b7af22ba0750ad50de4e00aba7701fa45288..4d00381f74dc5c8be4ac6e817d2722a898015310 100755
(executable)
--- a/
arch/arm/mach-rk2928/board-rk2928-a720.c
+++ b/
arch/arm/mach-rk2928/board-rk2928-a720.c
@@
-315,7
+315,7
@@
static struct sensor_platform_data mma7660_info = {
.irq_enable = 1,
.poll_delay_ms = 30,
.init_platform_hw = mma7660_init_platform_hw,
- .orientation = {-1, 0, 0, 0, 0,
1, 0, -
1, 0},
+ .orientation = {-1, 0, 0, 0, 0,
-1, 0,
1, 0},
};
#endif