summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/da9052/tsi_cfg.h4
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