projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a06a09c
)
Input: bu21013_ts - fix misuse of logical operation in place of bitop
author
David Sterba
<dsterba@suse.cz>
Tue, 28 Dec 2010 01:20:01 +0000
(17:20 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 28 Dec 2010 01:23:10 +0000
(17:23 -0800)
Signed-off-by: David Sterba <dsterba@suse.cz>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/bu21013_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/bu21013_ts.c
b/drivers/input/touchscreen/bu21013_ts.c
index
2ca9e5d
..
f7fa9ef
100644
(file)
--- a/
drivers/input/touchscreen/bu21013_ts.c
+++ b/
drivers/input/touchscreen/bu21013_ts.c
@@
-365,7
+365,7
@@
static int bu21013_init_chip(struct bu21013_ts_data *data)
}
retval = i2c_smbus_write_byte_data(i2c, BU21013_TH_OFF_REG,
- BU21013_TH_OFF_4 |
|
BU21013_TH_OFF_3);
+ BU21013_TH_OFF_4 | BU21013_TH_OFF_3);
if (retval < 0) {
dev_err(&i2c->dev, "BU21013_TH_OFF reg write failed\n");
return retval;