[PATCH 1/3] Make filtering optional but select all filters if switched on

Sven Rebhan odinshorse at googlemail.com
Wed Jan 28 19:16:53 CET 2009


From: Sven Rebhan <OdinsHorse at googlemail.com>

First, make the filtering switchable by the user.
Second, select all filters if filtering is switched on. This is required because
we predefine the filterchain in mach-gta02.c and thus need all filter functions.

Signed-off-by: Sven Rebhan <odinshorse at googlemail.com>

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 014a9e7..cf0b8ab 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -14,6 +14,10 @@ if INPUT_TOUCHSCREEN
 menuconfig TOUCHSCREEN_FILTER
 	boolean "Touchscreen Filtering"
 	depends on INPUT_TOUCHSCREEN
+	select TOUCHSCREEN_FILTER_GROUP
+	select TOUCHSCREEN_FILTER_MEDIAN
+	select TOUCHSCREEN_FILTER_MEAN
+	select TOUCHSCREEN_FILTER_LINEAR
 	help
 	  Select this to include kernel touchscreen filter support.  The filters
 	  can be combined in any order in your machine init and the parameters
@@ -119,7 +123,6 @@ config TOUCHSCREEN_S3C2410
 	tristate "Samsung S3C2410 touchscreen input driver"
 	depends on ARCH_S3C2410 && INPUT && INPUT_TOUCHSCREEN
 	select SERIO
-	select TOUCHSCREEN_FILTER
 	help
 	  Say Y here if you have the s3c2410 touchscreen.
 
-- 
1.6.0.6




More information about the openmoko-kernel mailing list