linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter
@ 2010-07-16  2:43 Wan ZongShun
  2010-07-16  7:07 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Wan ZongShun @ 2010-07-16  2:43 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input, LKML

Hi Dmitry,

This patch fixes wrong setup_timer parameter,when pen up event coming
all codes quoting the w90p910_ts work failed.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
---
 drivers/input/touchscreen/w90p910_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c
index cc18265..7a45d68 100644
--- a/drivers/input/touchscreen/w90p910_ts.c
+++ b/drivers/input/touchscreen/w90p910_ts.c
@@ -233,7 +233,7 @@ static int __devinit w90x900ts_probe(struct platform_device *pdev)
 	w90p910_ts->state = TS_IDLE;
 	spin_lock_init(&w90p910_ts->lock);
 	setup_timer(&w90p910_ts->timer, w90p910_check_pen_up,
-		    (unsigned long)&w90p910_ts);
+		    (unsigned long)w90p910_ts);

 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
-- 
1.6.3.3

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

* Re: [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter
  2010-07-16  2:43 [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter Wan ZongShun
@ 2010-07-16  7:07 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2010-07-16  7:07 UTC (permalink / raw)
  To: Wan ZongShun; +Cc: linux-input, LKML

On Fri, Jul 16, 2010 at 10:43:02AM +0800, Wan ZongShun wrote:
> Hi Dmitry,
> 
> This patch fixes wrong setup_timer parameter,when pen up event coming
> all codes quoting the w90p910_ts work failed.
> 

Applied, thanks Wan.

-- 
Dmitry

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

end of thread, other threads:[~2010-07-16  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16  2:43 [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter Wan ZongShun
2010-07-16  7:07 ` 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).