[xjh]update mma8452
authorxjh <root@ubuntu.(none)>
Wed, 5 Jan 2011 12:44:11 +0000 (20:44 +0800)
committerxjh <root@ubuntu.(none)>
Wed, 5 Jan 2011 12:44:11 +0000 (20:44 +0800)
drivers/input/gsensor/mma8452.c

index 28581a7e4d3bf4186748595b7f76eb0f4e178cbb..dcc834b5bd71d7047d0c3b0c054d2241591259f4 100644 (file)
@@ -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;
 }