linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: bu21013_ts: fix misuse of logical operation in place of bitop
@ 2010-12-27 15:36 David Sterba
  2010-12-28  0:38 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: David Sterba @ 2010-12-27 15:36 UTC (permalink / raw)
  To: dmitry.torokhov
  Cc: linux-input, linux-kernel, David Sterba, Linus Walleij,
	Naveen Kumar Gaddipati, Henrik Rydberg

CC: Linus Walleij <linus.walleij@stericsson.com>
CC: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
CC: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: David Sterba <dsterba@suse.cz>
---
 drivers/input/touchscreen/bu21013_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index 2ca9e5d..f7fa9ef 100644
--- 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;
-- 
1.7.3.4.578.g6068a

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: bu21013_ts: fix misuse of logical operation in place of bitop
  2010-12-27 15:36 [PATCH] Input: bu21013_ts: fix misuse of logical operation in place of bitop David Sterba
@ 2010-12-28  0:38 ` Linus Walleij
  2010-12-28  1:40   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2010-12-28  0:38 UTC (permalink / raw)
  To: David Sterba
  Cc: dmitry.torokhov, linux-input, linux-kernel,
	Naveen Kumar Gaddipati, Henrik Rydberg

010/12/27 David Sterba <dsterba@suse.cz>:

> CC: Linus Walleij <linus.walleij@stericsson.com>
> CC: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
> CC: Henrik Rydberg <rydberg@euromail.se>
> Signed-off-by: David Sterba <dsterba@suse.cz>

Acked-by: Linus Walleij <linus.walleij@stericsson.com>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: bu21013_ts: fix misuse of logical operation in place of bitop
  2010-12-28  0:38 ` Linus Walleij
@ 2010-12-28  1:40   ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2010-12-28  1:40 UTC (permalink / raw)
  To: Linus Walleij
  Cc: David Sterba, linux-input, linux-kernel, Naveen Kumar Gaddipati,
	Henrik Rydberg

On Tue, Dec 28, 2010 at 01:38:43AM +0100, Linus Walleij wrote:
> 010/12/27 David Sterba <dsterba@suse.cz>:
> 
> > CC: Linus Walleij <linus.walleij@stericsson.com>
> > CC: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
> > CC: Henrik Rydberg <rydberg@euromail.se>
> > Signed-off-by: David Sterba <dsterba@suse.cz>
> 
> Acked-by: Linus Walleij <linus.walleij@stericsson.com>
> 

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-28  1:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-27 15:36 [PATCH] Input: bu21013_ts: fix misuse of logical operation in place of bitop David Sterba
2010-12-28  0:38 ` Linus Walleij
2010-12-28  1:40   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).