mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
focaltech_0flash_v2_mmi: disable FTS debug config by default
focaltech_0flash_v2_mmi disable FTS debug config by default Change-Id: Ib6b0fda454e56053db8e1f3b564abec6327ee38c Signed-off-by: hujing3 <hujing3@lenovo.com> Reviewed-on: https://gerrit.mot.com/2278176 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
45f76c2fcc
commit
99e6f06fc2
3 changed files with 13 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ ifneq ($(FOCALTECH_ESDCHECK_ENABLE),)
|
|||
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_ESD_EN=y
|
||||
endif
|
||||
|
||||
ifneq ($(FOCALTECH_DEBUG_ENABLE),)
|
||||
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_DEBUG_EN=y
|
||||
endif
|
||||
|
||||
ifneq ($(BOARD_USES_PANEL_NOTIFICATIONS),)
|
||||
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_PANEL_NOTIFICATIONS=y
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -25,3 +25,8 @@ endif
|
|||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_CONFIG_PANEL_NOTIFICATIONS
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_DEBUG_EN)),)
|
||||
EXTRA_CFLAGS += -DFOCALTECH_DEBUG_EN
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -197,7 +197,11 @@
|
|||
* show debug log info
|
||||
* enable it for debug, disable it for release
|
||||
*/
|
||||
#ifdef FOCALTECH_DEBUG_EN
|
||||
#define FTS_DEBUG_EN 1
|
||||
#else
|
||||
#define FTS_DEBUG_EN 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Linux MultiTouch Protocol
|
||||
|
|
|
|||
Loading…
Reference in a new issue