---------- 已转发邮件 ----------
发件人: Wan ZongShun <mcuo...@gmail.com>
日期: 2010年7月16日 上午10:43
主题: [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter
收件人: Dmitry Torokhov <dmitry....@gmail.com>,
linux...@vger.kernel.org, LKML <linux-...@vger.kernel.org>
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 <mcuo...@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
--
*linux-arm-kernel mailing list
mail addr:linux-ar...@lists.infradead.org
you can subscribe by:
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
* linux-arm-NUC900 mailing list
mail addr:NUC...@googlegroups.com
main web: https://groups.google.com/group/NUC900
you can subscribe it by sending me mail:
mcuo...@gmail.com
---------- Forwarded message ----------
From: Dmitry Torokhov <dmitry....@gmail.com>
Date: 2010/7/16
Subject: Re: [PATCH] touchscreen/nuc900: fix wrong setup_timer parameter
To: Wan ZongShun <mcuo...@gmail.com>
抄送: linux...@vger.kernel.org, LKML <linux-...@vger.kernel.org>
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