Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 896fcb75 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor Committed by KakatkarAkshay
Browse files

Disable Unneeded OnePlus Stuff

parent 4faaf81f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -503,6 +503,7 @@ endif
CLANG_FLAGS	+= -no-integrated-as
CLANG_FLAGS	+= $(call cc-option, -Wno-misleading-indentation)
CLANG_FLAGS	+= $(call cc-option, -Wno-bool-operation)
CLANG_FLAGS	+= -fno-builtin-stpcpy
CLANG_FLAGS	+= -Werror=unknown-warning-option
CLANG_FLAGS	+= $(call cc-option, -Wno-unsequenced)
KBUILD_CFLAGS	+= $(CLANG_FLAGS)
+5 −5
Original line number Diff line number Diff line
@@ -5206,8 +5206,8 @@ CONFIG_OPCHAIN=y
CONFIG_SMART_BOOST=y
CONFIG_DEFRAG=y
CONFIG_FSC=y
CONFIG_HOUSTON=y
CONFIG_CONTROL_CENTER=y
# CONFIG_HOUSTON is not set
# CONFIG_CONTROL_CENTER is not set
# CONFIG_AIGOV is not set
CONFIG_IM=y
CONFIG_PCCORE=y
@@ -5263,9 +5263,9 @@ CONFIG_AW8697_HAPTIC=y
#
# LED Triggers
#
CONFIG_ONEPLUS_HEALTHINFO=y
CONFIG_ONEPLUS_TASKLOAD_INFO=y
CONFIG_ONEPLUS_MEM_MONITOR=y
# CONFIG_ONEPLUS_HEALTHINFO is not set
# CONFIG_ONEPLUS_TASKLOAD_INFO is not set
# CONFIG_ONEPLUS_MEM_MONITOR is not set
CONFIG_STMVL53L1=y
CONFIG_OP_FREEZER=y
CONFIG_HUNG_TASK_ENHANCE=y
+1 −1
Original line number Diff line number Diff line
@@ -573,7 +573,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
//2020/03/27, add for pccore CONFIG_PCCORE
		idx = cpufreq_frequency_table_target(policy, target_freq,
		(get_op_select_freq_enable() &&
				(ht_pcc_alwayson() || !ccdm_any_hint())) ? CPUFREQ_RELATION_OP : CPUFREQ_RELATION_L);
				(ht_pcc_alwayson() || !0)) ? CPUFREQ_RELATION_OP : CPUFREQ_RELATION_L);
		policy->cached_resolved_idx = idx;
//2020/03/27, add for pccore CONFIG_PCCORE
		trace_cpu_frequency_select(target_freq, policy->freq_table[idx].frequency, idx, policy->cpu, 1);
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ static inline bool current_is_gcd(void)
	return current == gc_tsk;
}

bool ctech_current_is_swapind() {
bool ctech_current_is_swapind(void) {
	return current == swapind_tsk;
}

+3 −11
Original line number Diff line number Diff line
@@ -37,18 +37,10 @@
/*******Part0:LOG TAG Declear************************/
#define TPD_PRINT_POINT_NUM 150
#define TPD_DEVICE "touchpanel"
#define TPD_INFO(a, arg...)  pr_err("[TP]"TPD_DEVICE ": " a, ##arg)
#define TPD_DEBUG(a, arg...)\
	do{\
		if (LEVEL_DEBUG == tp_debug)\
		pr_err("[TP]"TPD_DEVICE ": " a, ##arg);\
	}while(0)
#define TPD_INFO(a, arg...)  no_printk("[TP]"TPD_DEVICE ": " a, ##arg)
#define TPD_DEBUG(a, arg...) no_printk("[TP]"TPD_DEVICE ": " a, ##arg)

#define TPD_DETAIL(a, arg...)\
	do{\
		if (LEVEL_BASIC != tp_debug)\
		pr_err("[TP]"TPD_DEVICE ": " a, ##arg);\
	}while(0)
#define TPD_DETAIL(a, arg...) no_printk("[TP]"TPD_DEVICE ": " a, ##arg)

#define TPD_SPECIFIC_PRINT(count, a, arg...)\
	do{\
Loading