OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: pixcir_i2c_ts - fix receive error
[android-x86/kernel.git]
/
drivers
/
input
/
touchscreen
/
pixcir_i2c_ts.c
diff --git
a/drivers/input/touchscreen/pixcir_i2c_ts.c
b/drivers/input/touchscreen/pixcir_i2c_ts.c
index
2c21071
..
8f3e243
100644
(file)
--- a/
drivers/input/touchscreen/pixcir_i2c_ts.c
+++ b/
drivers/input/touchscreen/pixcir_i2c_ts.c
@@
-78,7
+78,7
@@
static void pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata,
}
ret = i2c_master_recv(tsdata->client, rdbuf, readsize);
- if (ret !=
sizeof(rdbuf)
) {
+ if (ret !=
readsize
) {
dev_err(&tsdata->client->dev,
"%s: i2c_master_recv failed(), ret=%d\n",
__func__, ret);