mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
input: ets_fps_mmi: Remove debuglog in user build
Only enable debug log in userdebug build. If build user SW, remove those debug logs. Change-Id: I2838ebc6bf34bf173bbf3f9367d15e8252247c73 Signed-off-by: haojl2 <haojl2@motorola.com> Reviewed-on: https://gerrit.mot.com/1266491 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
008a5b639f
commit
717c53ac09
2 changed files with 4 additions and 3 deletions
|
|
@ -11,6 +11,10 @@ ifneq ($(filter m y,$(CONFIG_INPUT_EGISTEC_FPS_NAVI_VERTICAL)),)
|
|||
EXTRA_CFLAGS += -DCONFIG_INPUT_EGISTEC_FPS_NAVI_VERTICAL
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_BUILD_VARIANT),userdebug)
|
||||
EXTRA_CFLAGS += -DFP_SPI_DEBUG
|
||||
endif
|
||||
|
||||
ets_fps_mmi-y += ets_fps.o ets_navi_input.o
|
||||
|
||||
obj-m += ets_fps_mmi.o
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@
|
|||
#include <linux/spi/spi.h>
|
||||
|
||||
|
||||
/*#define FP_SPI_DEBUG*/
|
||||
#define FP_SPI_DEBUG
|
||||
|
||||
#ifdef FP_SPI_DEBUG
|
||||
#define DEBUG_PRINT(fmt, args...) pr_err(fmt, ## args)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue