projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a48ff8
)
Input: edt-ft5x06 - remove superfluous assignment
author
Maks Naumov
<maksqwe1@ukr.net>
Wed, 13 Aug 2014 22:27:52 +0000
(15:27 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 13 Aug 2014 22:30:11 +0000
(15:30 -0700)
Somehow we ended up with a duplicate line in edt_ft5x06_register_write()
Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
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
5a6d50c
..
8857d5b
100644
(file)
--- a/
drivers/input/touchscreen/edt-ft5x06.c
+++ b/
drivers/input/touchscreen/edt-ft5x06.c
@@
-262,7
+262,6
@@
static int edt_ft5x06_register_write(struct edt_ft5x06_ts_data *tsdata,
case M06:
wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc;
wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
- wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
wrbuf[2] = value;
wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2];
return edt_ft5x06_ts_readwrite(tsdata->client, 4,