diff options
author | Alex Gonzalez <alex.gonzalez@digi.com> | 2012-01-03 11:41:03 +0100 |
---|---|---|
committer | Alex Gonzalez <alex.gonzalez@digi.com> | 2012-01-03 11:43:43 +0100 |
commit | 75e4143cfd25daf595a18283cc7bfff0c31d93d3 (patch) | |
tree | 086f589d2dd1f3842f38f8fe5381e22095386937 /include | |
parent | 47c7c6502fee92da410ac8a7e656501f2390a56e (diff) |
ccxmx53: da9052-tsi, disable window filter.
The driver enables by default a window filter that stops tracking movement
if it detects a pixel difference of 50 pixels between positions. Disabling
this "feature" fixes this Vantive.
This commit allows for the driver to be configured to use the window or
not, with the default being to disable it.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/da9052/tsi_cfg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/da9052/tsi_cfg.h b/include/linux/mfd/da9052/tsi_cfg.h index 512fe3bf8d4f..846b7ded22b0 100644 --- a/include/linux/mfd/da9052/tsi_cfg.h +++ b/include/linux/mfd/da9052/tsi_cfg.h @@ -38,7 +38,11 @@ #define DEFAULT_AVERAGE_FILTER_SIZE 3 +#ifdef CONFIG_ENABLE_WINDOW_FILTER #define ENABLE_WINDOW_FILTER 1 +#else +#define ENABLE_WINDOW_FILTER 0 +#endif #define TSI_X_WINDOW_SIZE 50 #define TSI_Y_WINDOW_SIZE 50 |