From 1bfcb6881cb4ea120894ef4e032fa3ca7d311b35 Mon Sep 17 00:00:00 2001 From: merge Date: Thu, 4 Dec 2008 21:30:41 +0000 Subject: MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-cleanup-add-internal-functions-1228426177 pending-tracking-hist top was MERGE-via-stable-tracking-cleanup-add-internal-functions-1228426177 / cf9f1f4a754f2db71f829a8b07ac455e053b3d1f ... parent commitmessage: From: merge MERGE-via-stable-tracking-hist-cleanup-add-internal-functions stable-tracking-hist top was cleanup-add-internal-functions / 251b632aa7be6c6307a6938a59793e205da5b326 ... parent commitmessage: From: Nelson Castillo Cleanup - Add internal functions for clearing filters This patch adds the following functions: * ts_filter_mean_clear_internal * ts_filter_median_clear_internal The idea: avoid calling the clean function of other filters when we initialize one. Also: * modify messages for consistency. * remove an unneeded else. Signed-off-by: Nelson Castillo --- drivers/input/touchscreen/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/input/touchscreen/Kconfig') diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index ec28494584b..98566fd3342 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -21,6 +21,15 @@ menuconfig TOUCHSCREEN_FILTER if TOUCHSCREEN_FILTER +config TOUCHSCREEN_FILTER_VARIANCE + bool "Variance Touchscreen Filter" + depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER + default Y + help + Say Y here if you want to use the Variance touchscreen filter, it + helps discarding a click if we get too much noise. + + config TOUCHSCREEN_FILTER_MEDIAN bool "Median Average Touchscreen Filter" depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER -- cgit v1.2.3