From b6d34d41617a6315892217a49a62435f928e6ce4 Mon Sep 17 00:00:00 2001 From: merge Date: Fri, 28 Nov 2008 22:55:35 +0000 Subject: MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-fix-last_issued-ts_filter_medi pending-tracking-hist top was MERGE-via-stable-tracking-fix-last_issued-ts_filter_medi / 404664ee400e5a47f66a4dce9427f3fd4ae22d38 ... parent commitmessage: From: merge MERGE-via-stable-tracking-hist-fix-last_issued-ts_filter_medi stable-tracking-hist top was fix-last_issued-ts_filter_medi / 80f4b57fef5dcffbb1d93fa43432952c168860ed ... parent commitmessage: From: Nelson Castillo fix-last_issued-ts_filter_median.patch - Decimation_below was not being used in the median filter. Fixed. - Decimation_below should be small. There's no need to change many points in the median filter if we're moving slow. In this way we will filter more noise. - Now we deliver 2X input events -- 1 each 5 milliseconds. (side effect of the previous two changes) - We should omit the last point before the UP event but I think this belongs to user-space. I'm programming a tslib filter ("skip") and if it doesn't work will I'll send a patch later to skip the last point in the driver. Signed-off-by: Nelson Castillo --- arch/arm/mach-s3c2440/mach-gta02.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-s3c2440') diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 2baf38f9f95..dcf0d993337 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -1010,9 +1010,9 @@ static struct s3c2410_udc_mach_info gta02_udc_cfg = { static struct ts_filter_median_configuration gta02_ts_median_config = { .extent = 31, - .decimation_below = 28, + .decimation_below = 5, .decimation_threshold = 8 * 3, - .decimation_above = 12, + .decimation_above = 10, }; static struct ts_filter_mean_configuration gta02_ts_mean_config = { -- cgit v1.2.3