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:
fdb3c04
)
Revert "modified mma8452 for aigo board"
author
黄涛
<huangtao@rock-chips.com>
Tue, 12 Apr 2011 09:28:16 +0000
(17:28 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 12 Apr 2011 09:33:45 +0000
(17:33 +0800)
This reverts commit
815cfdcd4b0abf71ae13958223653715df009b68
.
drivers/input/gsensor/mma8452.c
patch
|
blob
|
history
diff --git
a/drivers/input/gsensor/mma8452.c
b/drivers/input/gsensor/mma8452.c
index fd11bee374cd0c5d1a2d08b11c7489342116685f..cccd544d618a2aad06311f6890836222e7299bf6 100644
(file)
--- a/
drivers/input/gsensor/mma8452.c
+++ b/
drivers/input/gsensor/mma8452.c
@@
-338,9
+338,6
@@
static int mma8452_get_data(struct i2c_client *client)
axis.y = -axis.y;
swap(axis.x,axis.y);
}
- #if defined(CONFIG_MACH_RK29_AIGO)
- axis.x = -axis.x;
- #endif
// mmaprintk( "%s: ------------------mma8452_GetData axis = %d %d %d--------------\n",
// __func__, axis.x, axis.y, axis.z);