Skip to content

Commit

Permalink
Input: bu21013_ts - fix misuse of logical operation in place of bitop
Browse files Browse the repository at this point in the history
Signed-off-by: David Sterba <dsterba@suse.cz>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
David Sterba authored and Dmitry Torokhov committed Dec 28, 2010
1 parent a06a09c commit ef11e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/bu21013_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ef11e70

Please sign in to comment.