disable IMQ on 2.6.28 as well -- people should use IFB..
[openwrt.git] / target / linux / s3c24xx / patches / 0204-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
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
5
6     Add missing initialization for the touchscreen driver for the
7     gta01 platform.
8
9     Signed-off-by: Mike Westerhof <mwester@dls.net>
10 ---
11  arch/arm/mach-s3c2410/mach-gta01.c |    9 ++++++++-
12  1 files changed, 8 insertions(+), 1 deletions(-)
13
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 = {
19  
20  static struct s3c2410_ts_mach_info gta01_ts_cfg = {
21         .delay = 10000,
22 -       .presc = 65,
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
30 +        */
31 +       .reject_threshold_vs_avg = 2,
32  };
33  
34  /* SPI */
35 -- 
36 1.5.6.3
37