From d44cfbed7c48b6c68203aba9aee8afdfde091d72 Mon Sep 17 00:00:00 2001 From: liujian Date: Wed, 18 Jan 2023 05:32:53 -0600 Subject: [PATCH] Revert "(CR) Pnangn:Enable FPS overheat protection" This reverts commit a0504b143342e95d8c5ea5965b2cb16af935f618. Vendor report there is issue in v0.1.9 Change-Id: I52feeac8f483412f1a4dde012a7ff2c444be442e Reviewed-on: https://gerrit.mot.com/2490868 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: liujian Reviewed-by: Wang Wang Submit-Approved: Jira Key --- drivers/input/misc/ets_bix_mmi/Android.mk | 4 ---- drivers/input/misc/ets_bix_mmi/Kbuild | 3 --- drivers/input/misc/ets_bix_mmi/etxxx_fp.c | 2 -- 3 files changed, 9 deletions(-) diff --git a/drivers/input/misc/ets_bix_mmi/Android.mk b/drivers/input/misc/ets_bix_mmi/Android.mk index 8391813c45e5..c7bcf93d5322 100644 --- a/drivers/input/misc/ets_bix_mmi/Android.mk +++ b/drivers/input/misc/ets_bix_mmi/Android.mk @@ -11,10 +11,6 @@ ifeq ($(EGIS_FPS_PANEL_NOTIFICATIONS),true) KERNEL_CFLAGS += CONFIG_EGIS_PANEL_NOTIFICATIONS=y endif -ifeq ($(EGIS_FPS_DRM_PANEL_NOTIFICATIONS),true) - KERNEL_CFLAGS += CONFIG_EGIS_DRM_PANEL_NOTIFICATIONS=y -endif - include $(CLEAR_VARS) LOCAL_MODULE := ets_bix_mmi.ko LOCAL_MODULE_TAGS := optional diff --git a/drivers/input/misc/ets_bix_mmi/Kbuild b/drivers/input/misc/ets_bix_mmi/Kbuild index de3c7a00bb43..f4d0588a9faa 100644 --- a/drivers/input/misc/ets_bix_mmi/Kbuild +++ b/drivers/input/misc/ets_bix_mmi/Kbuild @@ -7,9 +7,6 @@ ifneq ($(filter m y,$(CONFIG_EGIS_PANEL_NOTIFICATIONS)),) EXTRA_CFLAGS += -DCONFIG_PANEL_NOTIFICATIONS endif -ifneq ($(filter m y,$(CONFIG_EGIS_DRM_PANEL_NOTIFICATIONS)),) - EXTRA_CFLAGS += -DCONFIG_DRM_PANEL_NOTIFICATIONS -endif #ifneq ($(filter m y,$(CONFIG_ET721_FOD)),) # EXTRA_CFLAGS += -DET721_FOD #endif diff --git a/drivers/input/misc/ets_bix_mmi/etxxx_fp.c b/drivers/input/misc/ets_bix_mmi/etxxx_fp.c index c33d30963767..1384c113b690 100755 --- a/drivers/input/misc/ets_bix_mmi/etxxx_fp.c +++ b/drivers/input/misc/ets_bix_mmi/etxxx_fp.c @@ -1509,7 +1509,6 @@ int egisfp_probe(struct platform_device *pdev) #elif defined(CONFIG_DRM_PANEL_NOTIFICATIONS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)) egis_dev->notifier = egisfp_noti_block; - DEBUG_PRINT(" %s : register drm_panel_notifier_register\n", __func__); if (egis_dev->active_panel) { DEBUG_PRINT(" %s : register drm_panel_notifier \n", __func__); status = drm_panel_notifier_register(egis_dev->active_panel, &egis_dev->notifier); @@ -1519,7 +1518,6 @@ int egisfp_probe(struct platform_device *pdev) egis_dev->call_back_registered = 1; } #else - DEBUG_PRINT(" %s : register ets_fb_register_client\n", __func__); egis_dev->notifier = egisfp_noti_block; status = ets_fb_register_client(&egis_dev->notifier); if (status)