summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/misc/mma7455l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/mma7455l.c b/drivers/input/misc/mma7455l.c
index 9d4c5ed70cb5..e01ecb7847c6 100644
--- a/drivers/input/misc/mma7455l.c
+++ b/drivers/input/misc/mma7455l.c
@@ -167,7 +167,7 @@ static inline u_int8_t __reg_read(struct mma7455l_info *mma, u_int8_t reg)
/* Write the register to access */
i2cmsg[0].addr = mma->client->addr;
- i2cmsg[0].len = 2;
+ i2cmsg[0].len = 1;
i2cmsg[0].buf = &buf[0];
i2cmsg[0].flags = 0;