Browse Source

Input: s3c24xx_ts - re-enable IRQ on resume

IRQ should be re-enabled on resume, otherwise driver stops reporting events.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Vasily Khoruzhick 15 years ago
parent
commit
2f09586557
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/input/touchscreen/s3c2410_ts.c

+ 1 - 0
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;
 	struct s3c2410_ts_mach_info *info = pdev->dev.platform_data;
 
 
 	clk_enable(ts.clock);
 	clk_enable(ts.clock);
+	enable_irq(ts.irq_tc);
 
 
 	/* Initialise registers */
 	/* Initialise registers */
 	if ((info->delay & 0xffff) > 0)
 	if ((info->delay & 0xffff) > 0)