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

Dmitry Torokhov dmitry.torokhov at gmail.com
Fri Feb 19 04:05:07 EST 2010


On Thu, Feb 18, 2010 at 06:32:30PM +0200, Vasily Khoruzhick wrote:
> IRQ should be enabled on resume, otherwise driver doesn't
> report events.
> 
> Signed-off-by: Vasily Khoruzhick <anarsoul at 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



More information about the linux-arm-kernel mailing list