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:
eb49ac1
)
rk3188 ds1006h:fix l3g4200d
author
wuhao
<wuhao@wuhao@rock-chips.com>
Fri, 1 Feb 2013 08:04:41 +0000
(16:04 +0800)
committer
wuhao
<wuhao@wuhao@rock-chips.com>
Fri, 1 Feb 2013 08:04:41 +0000
(16:04 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
index 6e30ca2ff63885b0d29184df6bd2e28fbcbc46e9..058183e48998d4684648c71b7e1bcf7b7c27c067 100755
(executable)
--- a/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
+++ b/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
@@
-316,7
+316,7
@@
static struct sensor_platform_data l3g4200d_info = {
.type = SENSOR_TYPE_GYROSCOPE,
.irq_enable = 1,
.poll_delay_ms = 0,
- .orientation = {1, 0, 0 ,
-1, 0
, 0, 0, 0, -1},
+ .orientation = {1, 0, 0 ,
0 , -1
, 0, 0, 0, -1},
.init_platform_hw = l3g4200d_init_platform_hw,
.x_min = 40,//x_min,y_min,z_min = (0-100) according to hardware
.y_min = 40,