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:
dd9513e
)
[xjh]update mma8452
author
xjh
<root@ubuntu.(none)>
Wed, 5 Jan 2011 12:44:11 +0000
(20:44 +0800)
committer
xjh
<root@ubuntu.(none)>
Wed, 5 Jan 2011 12:44:11 +0000
(20:44 +0800)
drivers/input/gsensor/mma8452.c
patch
|
blob
|
history
diff --git
a/drivers/input/gsensor/mma8452.c
b/drivers/input/gsensor/mma8452.c
index 28581a7e4d3bf4186748595b7f76eb0f4e178cbb..dcc834b5bd71d7047d0c3b0c054d2241591259f4 100644
(file)
--- a/
drivers/input/gsensor/mma8452.c
+++ b/
drivers/input/gsensor/mma8452.c
@@
-118,7
+118,7
@@
static char mma845x_read_reg(struct i2c_client *client,int addr)
int ret = 0;
tmp = addr;
-
ret = mma8452_tx_data(client, &tmp, 1);
+
//
ret = mma8452_tx_data(client, &tmp, 1);
ret = mma8452_rx_data(client, &tmp, 1);
return tmp;
}