1 From 295621a873dfef4a8ed956fb0ad4563db0b2e659 Mon Sep 17 00:00:00 2001
2 From: Mike Westerhof <mwester@dls.net>
3 Date: Fri, 25 Jul 2008 23:06:18 +0100
4 Subject: [PATCH] commit 5f42e24d361cd83178fe8da9d68efbf41a011483
6 Add missing initialization for the touchscreen driver for the
9 Signed-off-by: Mike Westerhof <mwester@dls.net>
11 arch/arm/mach-s3c2410/mach-gta01.c | 9 ++++++++-
12 1 files changed, 8 insertions(+), 1 deletions(-)
14 diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
15 index a77ed3d..e518de7 100644
16 --- a/arch/arm/mach-s3c2410/mach-gta01.c
17 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
18 @@ -494,8 +494,15 @@ static struct s3c2410_udc_mach_info gta01_udc_cfg = {
20 static struct s3c2410_ts_mach_info gta01_ts_cfg = {
23 + .presc = 50000000 / 1000000, /* 50 MHz PCLK / 1MHz */
24 + /* simple averaging, 2^n samples */
25 .oversampling_shift = 5,
26 + /* averaging filter length, 2^n */
27 + .excursion_filter_len_bits = 5,
28 + /* flagged for beauty contest on next sample if differs from
29 + * average more than this
31 + .reject_threshold_vs_avg = 2,