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:
53d5940
)
board LR097:modify gesnsor orientation to support new sensor framework
author
yxj
<yxj@rock-chips.com>
Wed, 13 Mar 2013 02:33:04 +0000
(10:33 +0800)
committer
yxj
<yxj@rock-chips.com>
Wed, 13 Mar 2013 09:42:37 +0000
(17:42 +0800)
arch/arm/mach-rk30/board-rk3168-LR097.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3168-LR097.c
b/arch/arm/mach-rk30/board-rk3168-LR097.c
index f7792a429491f21293c793ac757a8782f3ff397d..8f9338665849f88f8b8cdfd87db849417cb70a83 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk3168-LR097.c
+++ b/
arch/arm/mach-rk30/board-rk3168-LR097.c
@@
-398,7
+398,7
@@
static struct sensor_platform_data mma8452_info = {
.irq_enable = 1,
.poll_delay_ms = 30,
.init_platform_hw = mma8452_init_platform_hw,
- .orientation = {1, 0, 0, 0,
0, -1, 0, -1, 0
},
+ .orientation = {1, 0, 0, 0,
-1, 0, 0, 0, -1
},
};
#endif
#if defined (CONFIG_GS_LIS3DH)
@@
-415,7
+415,7
@@
static struct sensor_platform_data lis3dh_info = {
.irq_enable = 1,
.poll_delay_ms = 30,
.init_platform_hw = lis3dh_init_platform_hw,
- .orientation = {1, 0, 0, 0,
0, -1, 0, -1, 0
},
+ .orientation = {1, 0, 0, 0,
-1, 0, 0, 0, -1
},
};
#endif
#if defined(CONFIG_CHARGER_CW2015)