Skip to contentSkip to conversation

touchscreen/nuc900: fix wrong setup_timer parameter

PATCH Applied Wan ZongShun 2 participants 2 messages Jul 16, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 touchscreen/nuc900: fix wrong setup_timer parameter

Hi Dmitry,

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

---
 drivers/input/touchscreen/w90p910_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/touchscreen/w90p910_ts.c +1 -1
index cc18265..7a45d68 100644
@@ -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) {
Signature · 1 line
1.6.3.3
maintainer Applied
#1 lore raw
Quoted 5 lines · Wan ZongShun

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.

Signature · 1 line
Dmitry