Skip to content
Snippets Groups Projects
Commit ef11e701 authored by David Sterba's avatar David Sterba Committed by Dmitry Torokhov
Browse files

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

parent a06a09c8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment