aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch
blob: 769f0cc75259a4c9a75a40043ce46ef1f7b4cf63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From db8a6e9ceb1e9d5b72c3c7f08ef5f576e7cb873c Mon Sep 17 00:00:00 2001
From: Vasily Khoruzhick <anarsoul@gmail.com>
Date: Sun, 18 Dec 2011 11:47:03 +0300
Subject: [PATCH 08/15] ARM: s3c24xx: h1940: increase oversampling shift

4 samples seems to be not enough for touchscreen driver
to work accurately

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
 arch/arm/mach-s3c24xx/mach-h1940.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
index 55653e8..0ecd849 100644
--- a/arch/arm/mach-s3c24xx/mach-h1940.c
+++ b/arch/arm/mach-s3c24xx/mach-h1940.c
@@ -183,7 +183,7 @@ static struct s3c2410_udc_mach_info h1940_udc_cfg __initdata = {
 static struct s3c2410_ts_mach_info h1940_ts_cfg __initdata = {
 		.delay = 10000,
 		.presc = 49,
-		.oversampling_shift = 2,
+		.oversampling_shift = 5,
 		.cfg_gpio = s3c24xx_ts_cfg_gpio,
 };
 
-- 
2.3.5