diff options
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch')
-rw-r--r-- | recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch b/recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch new file mode 100644 index 0000000..769f0cc --- /dev/null +++ b/recipes-kernel/linux/linux-handheld-4.0/h1940/0008-ARM-s3c24xx-h1940-increase-oversampling-shift.patch @@ -0,0 +1,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 + |