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:
7f0d809
)
rk3168: ds1006h: fixed gsensor oriention
author
kfx
<kfx@rock-chips.com>
Thu, 3 Jan 2013 06:30:04 +0000
(14:30 +0800)
committer
kfx
<kfx@rock-chips.com>
Thu, 3 Jan 2013 06:30:04 +0000
(14:30 +0800)
arch/arm/mach-rk30/board-rk3168-ds1006h.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3168-ds1006h.c
b/arch/arm/mach-rk30/board-rk3168-ds1006h.c
index b1b90d3c1adc0cc6cf52b5f4e7f6f16246f88d97..0a984ca18e16439f9608596c6e729f27c810f8d3 100644
(file)
--- a/
arch/arm/mach-rk30/board-rk3168-ds1006h.c
+++ b/
arch/arm/mach-rk30/board-rk3168-ds1006h.c
@@
-238,7
+238,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, 0, 1, 0, 1, 0},
};
#endif
#if defined (CONFIG_GS_LIS3DH)