Commit ef11e701 authored by David Sterba's avatar David Sterba Committed by Dmitry Torokhov

Input: bu21013_ts - fix misuse of logical operation in place of bitop

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Acked-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent a06a09c8
...@@ -365,7 +365,7 @@ static int bu21013_init_chip(struct bu21013_ts_data *data) ...@@ -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, 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) { if (retval < 0) {
dev_err(&i2c->dev, "BU21013_TH_OFF reg write failed\n"); dev_err(&i2c->dev, "BU21013_TH_OFF reg write failed\n");
return retval; return retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment