projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61721c8
)
Input: edt-ft5x06 - fix an i2c write for M09 support
author
Robert Woerle
<
[email protected]
>
Sun, 8 Jun 2014 05:20:23 +0000
(22:20 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Sun, 8 Jun 2014 06:20:22 +0000
(23:20 -0700)
The driver sends 3 bytes instead of 2 when accessing a register on the M09
firmware, so writing to gain seems to overflow into the offset register.
Signed-off-by: Robert Woerle <
[email protected]
>
Acked-By: Simon Budig <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/touchscreen/edt-ft5x06.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/edt-ft5x06.c
b/drivers/input/touchscreen/edt-ft5x06.c
index f8815bebc9efb8c0ab4da0f65fbeb9d487cdb7b8..d4f33992ad8cf4e7a8f2d20ed30b199ffba64bb3 100644
(file)
--- a/
drivers/input/touchscreen/edt-ft5x06.c
+++ b/
drivers/input/touchscreen/edt-ft5x06.c
@@
-271,7
+271,7
@@
static int edt_ft5x06_register_write(struct edt_ft5x06_ts_data *tsdata,
wrbuf[0] = addr;
wrbuf[1] = value;
- return edt_ft5x06_ts_readwrite(tsdata->client,
3
,
+ return edt_ft5x06_ts_readwrite(tsdata->client,
2
,
wrbuf, 0, NULL);
default: