提交 ef11e701 编写于 作者: D David Sterba 提交者: Dmitry Torokhov

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

Signed-off-by: NDavid Sterba <dsterba@suse.cz>
Acked-by: NLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 a06a09c8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册