Thread (23 messages) 23 messages, 4 authors, 2010-02-22
STALE5950d
Revisions (2)
  1. v1 [diff vs current]
  2. v1 current

[PATCH 4/4] s3c24xx_ts: re-enable IRQ on resume

From: dmitry.torokhov@gmail.com (Dmitry Torokhov)
Date: 2010-02-19 09:05:07
Also in: linux-input

On Thu, Feb 18, 2010 at 06:32:30PM +0200, Vasily Khoruzhick wrote:
quoted hunk ↗ jump to hunk
IRQ should be enabled on resume, otherwise driver doesn't
report events.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
 drivers/input/touchscreen/s3c2410_ts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c
index e2fe2ed..6738c26 100644
--- a/drivers/input/touchscreen/s3c2410_ts.c
+++ b/drivers/input/touchscreen/s3c2410_ts.c
@@ -401,6 +401,7 @@ static int s3c2410ts_resume(struct device *dev)
 	struct s3c2410_ts_mach_info *info = pdev->dev.platform_data;
 
 	clk_enable(ts.clock);
+	enable_irq(ts.irq_tc);
 
 	/* Initialise registers */
 	if ((info->delay & 0xffff) > 0)
Applied to my 'next' branch, thank you Vasily.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help